This is an automated email from the ASF dual-hosted git repository.

ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-web.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d47c5d  [YUNIKORN-2970] Don't display node attributes by default on 
the node view UI (#223)
3d47c5d is described below

commit 3d47c5dd05c84dd808fa9ed09a4aecbcbfd6ba6d
Author: SP12893678 <[email protected]>
AuthorDate: Tue Nov 12 09:24:10 2024 -0600

    [YUNIKORN-2970] Don't display node attributes by default on the node view 
UI (#223)
    
    Closes: #223
    
    Signed-off-by: Craig Condit <[email protected]>
---
 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 6dc5253..6d199e2 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' },


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to