Aam-Digital/ndb-core

View on GitHub
src/app/core/export/download-service/download.service.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
92%

Function exportFile has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async exportFile(data: any[], entityConstructor: EntityConstructor) {
    const entitySchema = entityConstructor.schema;
    const columnLabels = new Map<string, string>();

    for (const [id, field] of entitySchema.entries()) {
Severity: Minor
Found in src/app/core/export/download-service/download.service.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status