mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 11:33:04 +00:00
ESLint: fix indentation
This commit is contained in:
@@ -163,15 +163,15 @@ export class EntityDropdownComponent implements OnInit, OnDestroy {
|
||||
searchListEntity$ = this.entityTypeService.getAllAuthorizedRelationshipTypeImport(findOptions);
|
||||
}
|
||||
this.searchListEntity$ = searchListEntity$.pipe(
|
||||
getFirstSucceededRemoteWithNotEmptyData(),
|
||||
switchMap((entityType: RemoteData<PaginatedList<ItemType>>) => {
|
||||
if ( (this.searchListEntity.length + findOptions.elementsPerPage) >= entityType.payload.totalElements ) {
|
||||
this.hasNextPage = false;
|
||||
}
|
||||
return entityType.payload.page;
|
||||
}),
|
||||
reduce((acc: any, value: any) => [...acc, value], []),
|
||||
startWith([])
|
||||
getFirstSucceededRemoteWithNotEmptyData(),
|
||||
switchMap((entityType: RemoteData<PaginatedList<ItemType>>) => {
|
||||
if ( (this.searchListEntity.length + findOptions.elementsPerPage) >= entityType.payload.totalElements ) {
|
||||
this.hasNextPage = false;
|
||||
}
|
||||
return entityType.payload.page;
|
||||
}),
|
||||
reduce((acc: any, value: any) => [...acc, value], []),
|
||||
startWith([])
|
||||
);
|
||||
this.subs.push(
|
||||
this.searchListEntity$.subscribe(
|
||||
|
Reference in New Issue
Block a user