From 3d47c5dd05c84dd808fa9ed09a4aecbcbfd6ba6d Mon Sep 17 00:00:00 2001 From: SP12893678 <36910625+SP12893678@users.noreply.github.com> Date: Tue, 12 Nov 2024 09:24:10 -0600 Subject: [PATCH] [YUNIKORN-2970] Don't display node attributes by default on the node view UI (#223) Closes: #223 Signed-off-by: Craig Condit --- src/app/components/nodes-view/nodes-view.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/components/nodes-view/nodes-view.component.ts b/src/app/components/nodes-view/nodes-view.component.ts index 6dc52531..6d199e20 100644 --- a/src/app/components/nodes-view/nodes-view.component.ts +++ b/src/app/components/nodes-view/nodes-view.component.ts @@ -90,7 +90,10 @@ export class NodesViewComponent implements OnInit { }, ]; - this.nodeColumnIds = this.nodeColumnDef.map((col) => col.colId).concat('indicatorIcon'); + this.nodeColumnIds = this.nodeColumnDef + .filter(col=> !['attributes'].includes(col.colId)) + .map((col) => col.colId) + .concat('indicatorIcon'); this.allocColumnDef = [ { colId: 'displayName', colName: 'Display Name' },