mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 11:03:05 +00:00
ESLint: fix dangling commas
This commit is contained in:
@@ -26,7 +26,7 @@ import { FormFieldMetadataValueObject } from './builder/models/form-field-metada
|
||||
exportAs: 'formComponent',
|
||||
selector: 'ds-form',
|
||||
styleUrls: ['form.component.scss'],
|
||||
templateUrl: 'form.component.html'
|
||||
templateUrl: 'form.component.html',
|
||||
})
|
||||
export class FormComponent implements OnDestroy, OnInit {
|
||||
|
||||
@@ -177,7 +177,7 @@ export class FormComponent implements OnDestroy, OnInit {
|
||||
errors
|
||||
.filter((error: FormError) => findIndex(this.formErrors, {
|
||||
fieldId: error.fieldId,
|
||||
fieldIndex: error.fieldIndex
|
||||
fieldIndex: error.fieldIndex,
|
||||
}) === -1)
|
||||
.forEach((error: FormError) => {
|
||||
const { fieldId } = error;
|
||||
@@ -200,7 +200,7 @@ export class FormComponent implements OnDestroy, OnInit {
|
||||
this.formErrors
|
||||
.filter((error: FormError) => findIndex(errors, {
|
||||
fieldId: error.fieldId,
|
||||
fieldIndex: error.fieldIndex
|
||||
fieldIndex: error.fieldIndex,
|
||||
}) === -1)
|
||||
.forEach((error: FormError) => {
|
||||
const { fieldId } = error;
|
||||
@@ -219,7 +219,7 @@ export class FormComponent implements OnDestroy, OnInit {
|
||||
});
|
||||
this.formErrors = errors;
|
||||
this.changeDetectorRef.detectChanges();
|
||||
})
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user