Skip to content

Commit ca9975e

Browse files
committed
[DSC-2434] Fix lint
1 parent 7a917c6 commit ca9975e

5 files changed

Lines changed: 10 additions & 22 deletions

File tree

src/app/admin/admin-registries/metadata-schema/metadata-field-form/metadata-field-form.component.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,12 @@ import {
2222
TranslateModule,
2323
TranslateService,
2424
} from '@ngx-translate/core';
25-
import {
26-
combineLatest,
27-
Observable,
28-
} from 'rxjs';
29-
import {
30-
map,
31-
take,
32-
} from 'rxjs/operators';
25+
import { Observable } from 'rxjs';
26+
import { take } from 'rxjs/operators';
3327

3428
import { MetadataField } from '../../../../core/metadata/metadata-field.model';
3529
import { MetadataSchema } from '../../../../core/metadata/metadata-schema.model';
3630
import { RegistryService } from '../../../../core/registry/registry.service';
37-
import { hasValue } from '../../../../shared/empty.util';
3831
import { FormBuilderService } from '../../../../shared/form/builder/form-builder.service';
3932
import { FormComponent } from '../../../../shared/form/form.component';
4033

src/app/item-page/simple/item-page.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,11 @@ export class ItemPageComponent implements OnInit, OnDestroy {
188188
type: link.type,
189189
});
190190
}
191-
if (isNotEmpty(link.profile)) {
192-
tag = Object.assign(tag, {
193-
profile: link.profile,
194-
});
195-
}
191+
if (isNotEmpty(link.profile)) {
192+
tag = Object.assign(tag, {
193+
profile: link.profile,
194+
});
195+
}
196196
this.linkHeadService.addTag(tag);
197197
});
198198

src/app/shared/form/builder/ds-dynamic-form-ui/models/date-picker/date-picker.component.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,9 @@ import {
2222
DynamicFormLayoutService,
2323
DynamicFormValidationService,
2424
} from '@ng-dynamic-forms/core';
25-
import {
26-
TranslateModule,
27-
TranslateService,
28-
} from '@ngx-translate/core';
25+
import { TranslateModule } from '@ngx-translate/core';
2926
import isEqual from 'lodash/isEqual';
3027

31-
import { BtnDisabledDirective } from '../../../../../btn-disabled.directive';
3228
import { hasValue } from '../../../../../empty.util';
3329
import { NumberPickerComponent } from '../../../../number-picker/number-picker.component';
3430
import { DynamicDsDatePickerModel } from './date-picker.model';
@@ -47,7 +43,6 @@ export const DS_DATE_PICKER_SEPARATOR = '-';
4743
NumberPickerComponent,
4844
FormsModule,
4945
TranslateModule,
50-
BtnDisabledDirective,
5146
],
5247
standalone: true,
5348
})

src/app/shared/form/vocabulary-treeview/vocabulary-treeview.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import { VocabularyEntry } from '../../../core/submission/vocabularies/models/vo
2121
import { VocabularyEntryDetail } from '../../../core/submission/vocabularies/models/vocabulary-entry-detail.model';
2222
import { VocabularyOptions } from '../../../core/submission/vocabularies/models/vocabulary-options.model';
2323
import { VocabularyService } from '../../../core/submission/vocabularies/vocabulary.service';
24-
import { createSuccessfulRemoteDataObject$ } from '../../remote-data.utils';
2524
import { AlertComponent } from '../../alert/alert.component';
2625
import { ThemedLoadingComponent } from '../../loading/themed-loading.component';
26+
import { createSuccessfulRemoteDataObject$ } from '../../remote-data.utils';
2727
import { createTestComponent } from '../../testing/utils.test';
2828
import { FormFieldMetadataValueObject } from '../builder/models/form-field-metadata-value.model';
2929
import { VocabularyTreeviewComponent } from './vocabulary-treeview.component';

src/app/submission/form/submission-form.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export class SubmissionFormComponent implements OnChanges, OnDestroy {
320320
this.submissionDefinition = (submissionObject.submissionDefinition as SubmissionDefinitionsModel);
321321
this.definitionId = this.submissionDefinition.name;
322322
this.submissionService.resetSubmissionObject(
323-
(submissionObject.collection as Collection).id,
323+
(submissionObject.collection as Collection).id,
324324
this.submissionId,
325325
submissionObject._links.self.href,
326326
this.submissionDefinition,

0 commit comments

Comments
 (0)