Skip to content

Commit

Permalink
[YUNIKORN-2970] Don't display node attributes by default on the node …
Browse files Browse the repository at this point in the history
…view UI (#223)

Closes: #223

Signed-off-by: Craig Condit <ccondit@apache.org>
  • Loading branch information
SP12893678 authored and craigcondit committed Nov 12, 2024
1 parent b877df7 commit 3d47c5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/components/nodes-view/nodes-view.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down

0 comments on commit 3d47c5d

Please # to comment.