Aam-Digital/ndb-core

View on GitHub
src/app/core/admin/admin-entity-details/admin-entity-field/admin-entity-field.component.ts

Summary

Maintainability
A
3 hrs
Test Coverage
B
84%

File admin-entity-field.component.ts has 274 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import {
  Component,
  Inject,
  Input,
  OnChanges,

    Function initSettings has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      private initSettings() {
        this.fieldIdForm = this.fb.control(this.fieldId, {
          validators: [Validators.required],
          asyncValidators: [
            uniqueIdValidator(Array.from(this.entityType.schema.keys())),

      There are no issues that match your filters.

      Category
      Status