From a2df95a679310bc2d06d8ad7b84f5a0d02f1109d Mon Sep 17 00:00:00 2001 From: Art Lowel Date: Wed, 1 Apr 2020 14:20:00 +0200 Subject: [PATCH] fix lint issues --- src/app/shared/form/form.component.ts | 5 +---- .../sections/form/section-form-operations.service.ts | 7 ++++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/app/shared/form/form.component.ts b/src/app/shared/form/form.component.ts index ff749027ba..cf88ec4344 100644 --- a/src/app/shared/form/form.component.ts +++ b/src/app/shared/form/form.component.ts @@ -6,7 +6,7 @@ import { Input, OnDestroy, OnInit, - Output, ViewEncapsulation + Output } from '@angular/core'; import { AbstractControl, FormArray, FormControl, FormGroup } from '@angular/forms'; @@ -23,9 +23,6 @@ import { Observable, Subscription } from 'rxjs'; import { hasValue, isNotEmpty, isNotNull, isNull } from '../empty.util'; import { FormService } from './form.service'; import { FormEntry, FormError } from './form.reducer'; -import { FormFieldMetadataValueObject } from "./builder/models/form-field-metadata-value.model"; -import { AuthorityValue } from "../../core/integration/models/authority.value"; -import { DsDynamicInputModel } from "./builder/ds-dynamic-form-ui/models/ds-dynamic-input.model"; /** * The default form component. diff --git a/src/app/submission/sections/form/section-form-operations.service.ts b/src/app/submission/sections/form/section-form-operations.service.ts index 2741b9f1bd..8a6a55715f 100644 --- a/src/app/submission/sections/form/section-form-operations.service.ts +++ b/src/app/submission/sections/form/section-form-operations.service.ts @@ -305,9 +305,10 @@ export class SectionFormOperationsService { * @param event * the [[DynamicFormControlEvent]] for the specified operation */ - protected dispatchOperationsFromAddEvent(pathCombiner: JsonPatchOperationPathCombiner, - event: DynamicFormControlEvent - ): void { + protected dispatchOperationsFromAddEvent( + pathCombiner: JsonPatchOperationPathCombiner, + event: DynamicFormControlEvent + ): void { const path = this.getFieldPathSegmentedFromChangeEvent(event); const value = this.getFieldValueFromChangeEvent(event); if (isNotEmpty(value)) {