Skip to content

Commit 6f22fd5

Browse files
author
Luiza Georza
committed
Fixing issue with bulk selection
Server node apps were deselected on bulk selection because the object was being recreated and this issue was introduced when the multi node was added to the instance dashboard. Request: CT_BDEPLOY-823 Change-Id: Iee4c4980e166c7a9b4783675d0937bc025d10625
1 parent 15651e0 commit 6f22fd5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

ui/webapp/src/app/modules/primary/instances/components/dashboard/server-node/process-list/process-list.component.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,15 @@ export class NodeProcessListComponent implements OnInit, AfterViewInit, OnDestro
9595
processList.push(appConfig);
9696
} else {
9797
instanceProcessStates?.multiNodeToRuntimeNode[this.node.nodeName]?.forEach(runtimeNode => {
98-
processList.push({ ...appConfig, serverNode: runtimeNode });
98+
const displayData = appConfig as ProcessDisplayData;
99+
displayData.serverNode = runtimeNode;
100+
processList.push(displayData);
99101
});
100102
}
101103
} else {
102-
processList.push({ ...appConfig, serverNode: this.node.nodeName });
104+
const displayData = appConfig as ProcessDisplayData;
105+
displayData.serverNode = this.node.nodeName;
106+
processList.push(displayData);
103107
}
104108
});
105109

0 commit comments

Comments
 (0)