diff --git a/src/app/components/array-form/array-form.component.ts b/src/app/components/array-form/array-form.component.ts index ac5a1f6..271bd24 100644 --- a/src/app/components/array-form/array-form.component.ts +++ b/src/app/components/array-form/array-form.component.ts @@ -5,7 +5,7 @@ import { MatIconModule } from '@angular/material/icon'; import { ParamInfo } from '../../models/form.model'; import { ListsService } from '../../services/lists.service'; import { SchemaService } from '../../services/schema.service'; -import { parseStringToArray } from '../../utils/params.utils'; +import { parseStringToArray } from '../../utils/params'; @Component({ selector: 'app-array-form', diff --git a/src/app/components/params-form/params-form.component.ts b/src/app/components/params-form/params-form.component.ts index bbbe452..8e3342a 100644 --- a/src/app/components/params-form/params-form.component.ts +++ b/src/app/components/params-form/params-form.component.ts @@ -11,7 +11,7 @@ import { cloneDeep, has, isEqual } from 'lodash-es'; import { Subscription } from 'rxjs'; import { ParamInfo, ParamsFormInfo } from '../../models/form.model'; import { SchemaService } from '../../services/schema.service'; -import { cleanParams, schemaToParamsFormInfo } from '../../utils/params.utils'; +import { cleanParams, schemaToParamsFormInfo } from '../../utils/params'; import { ArrayFormComponent } from '../array-form/array-form.component'; @Component({ selector: 'app-params-form', @@ -39,7 +39,6 @@ export class ParamsFormComponent implements OnChanges, OnDestroy { formGroupSubscription?: Subscription; ngOnDestroy(): void { - console.log('params-form destroyed') if (this.formGroupSubscription) { this.formGroupSubscription.unsubscribe() } @@ -49,7 +48,6 @@ export class ParamsFormComponent implements OnChanges, OnDestroy { paramsSchema: SomeJSONSchema data: any }>): void { - console.log(changes) if (changes.paramsSchema) { if (changes.paramsSchema.previousValue === undefined && changes.paramsSchema.currentValue !== undefined) { if (this.paramsSchema) { diff --git a/src/app/utils/params.utils.ts b/src/app/utils/params.ts similarity index 100% rename from src/app/utils/params.utils.ts rename to src/app/utils/params.ts