diff --git a/src/app/process-page/overview/table/process-overview-table.component.ts b/src/app/process-page/overview/table/process-overview-table.component.ts index 36003a2a89..31ac041adc 100644 --- a/src/app/process-page/overview/table/process-overview-table.component.ts +++ b/src/app/process-page/overview/table/process-overview-table.component.ts @@ -190,7 +190,7 @@ export class ProcessOverviewTableComponent implements OnInit { ); // Collapse this section when the number of processes is zero the first time processes are retrieved - this.processesRD$.pipe(getFirstCompletedRemoteData()).subscribe( + this.processesRD$.pipe(take(1)).subscribe( (processesRD: RemoteData>) => { if (!(processesRD.payload.totalElements > 0)) { this.isCollapsed = true;