mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
fix lint issues
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
|||||||
Input,
|
Input,
|
||||||
OnDestroy,
|
OnDestroy,
|
||||||
OnInit,
|
OnInit,
|
||||||
Output, ViewEncapsulation
|
Output
|
||||||
} from '@angular/core';
|
} from '@angular/core';
|
||||||
import { AbstractControl, FormArray, FormControl, FormGroup } from '@angular/forms';
|
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 { hasValue, isNotEmpty, isNotNull, isNull } from '../empty.util';
|
||||||
import { FormService } from './form.service';
|
import { FormService } from './form.service';
|
||||||
import { FormEntry, FormError } from './form.reducer';
|
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.
|
* The default form component.
|
||||||
|
@@ -305,9 +305,10 @@ export class SectionFormOperationsService {
|
|||||||
* @param event
|
* @param event
|
||||||
* the [[DynamicFormControlEvent]] for the specified operation
|
* the [[DynamicFormControlEvent]] for the specified operation
|
||||||
*/
|
*/
|
||||||
protected dispatchOperationsFromAddEvent(pathCombiner: JsonPatchOperationPathCombiner,
|
protected dispatchOperationsFromAddEvent(
|
||||||
event: DynamicFormControlEvent
|
pathCombiner: JsonPatchOperationPathCombiner,
|
||||||
): void {
|
event: DynamicFormControlEvent
|
||||||
|
): void {
|
||||||
const path = this.getFieldPathSegmentedFromChangeEvent(event);
|
const path = this.getFieldPathSegmentedFromChangeEvent(event);
|
||||||
const value = this.getFieldValueFromChangeEvent(event);
|
const value = this.getFieldValueFromChangeEvent(event);
|
||||||
if (isNotEmpty(value)) {
|
if (isNotEmpty(value)) {
|
||||||
|
Reference in New Issue
Block a user