Skip to content

Commit 4e195b6

Browse files
committed
111638: Fix table collapsing when it has no processes
1 parent c5b5a3b commit 4e195b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/process-page/overview/table/process-overview-table.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export class ProcessOverviewTableComponent implements OnInit {
190190
);
191191

192192
// Collapse this section when the number of processes is zero the first time processes are retrieved
193-
this.processesRD$.pipe(getFirstCompletedRemoteData()).subscribe(
193+
this.processesRD$.pipe(take(1)).subscribe(
194194
(processesRD: RemoteData<PaginatedList<ProcessOverviewTableEntry>>) => {
195195
if (!(processesRD.payload.totalElements > 0)) {
196196
this.isCollapsed = true;

0 commit comments

Comments
 (0)