ESLint: fix indentation

This commit is contained in:
Yury Bondarenko
2023-06-27 16:14:46 +02:00
parent b505cbc690
commit 0690a201dc
410 changed files with 3488 additions and 3488 deletions

View File

@@ -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(