mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 18:44:14 +00:00
[DURACOM-191] run optimize imports and lint fix
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
import {
|
||||
AsyncPipe,
|
||||
NgFor,
|
||||
NgIf,
|
||||
} from '@angular/common';
|
||||
import {
|
||||
ChangeDetectorRef,
|
||||
Component,
|
||||
@@ -8,6 +13,8 @@ import {
|
||||
OnInit,
|
||||
Output,
|
||||
} from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
||||
import {
|
||||
BehaviorSubject,
|
||||
Observable,
|
||||
@@ -26,17 +33,14 @@ import { RemoteData } from '../../core/data/remote-data';
|
||||
import { ItemType } from '../../core/shared/item-relationships/item-type.model';
|
||||
import { getFirstSucceededRemoteWithNotEmptyData } from '../../core/shared/operators';
|
||||
import { hasValue } from '../empty.util';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { ThemedLoadingComponent } from '../loading/themed-loading.component';
|
||||
import { NgIf, NgFor, AsyncPipe } from '@angular/common';
|
||||
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-entity-dropdown',
|
||||
templateUrl: './entity-dropdown.component.html',
|
||||
styleUrls: ['./entity-dropdown.component.scss'],
|
||||
standalone: true,
|
||||
imports: [InfiniteScrollModule, NgIf, NgFor, ThemedLoadingComponent, AsyncPipe, TranslateModule]
|
||||
selector: 'ds-entity-dropdown',
|
||||
templateUrl: './entity-dropdown.component.html',
|
||||
styleUrls: ['./entity-dropdown.component.scss'],
|
||||
standalone: true,
|
||||
imports: [InfiniteScrollModule, NgIf, NgFor, ThemedLoadingComponent, AsyncPipe, TranslateModule],
|
||||
})
|
||||
export class EntityDropdownComponent implements OnInit, OnDestroy {
|
||||
/**
|
||||
|
Reference in New Issue
Block a user