We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5b5a3b commit 4e195b6Copy full SHA for 4e195b6
1 file changed
src/app/process-page/overview/table/process-overview-table.component.ts
@@ -190,7 +190,7 @@ export class ProcessOverviewTableComponent implements OnInit {
190
);
191
192
// Collapse this section when the number of processes is zero the first time processes are retrieved
193
- this.processesRD$.pipe(getFirstCompletedRemoteData()).subscribe(
+ this.processesRD$.pipe(take(1)).subscribe(
194
(processesRD: RemoteData<PaginatedList<ProcessOverviewTableEntry>>) => {
195
if (!(processesRD.payload.totalElements > 0)) {
196
this.isCollapsed = true;
0 commit comments