Skip to content

Commit

Permalink
111638: Fix table collapsing when it has no processes
Browse files Browse the repository at this point in the history
  • Loading branch information
AAwouters committed Feb 8, 2024
1 parent c5b5a3b commit 4e195b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<PaginatedList<ProcessOverviewTableEntry>>) => {
if (!(processesRD.payload.totalElements > 0)) {
this.isCollapsed = true;
Expand Down

0 comments on commit 4e195b6

Please sign in to comment.