@@ -124,7 +124,8 @@ export class OpenShiftExplorer implements TreeDataProvider<ExplorerItem>, Dispos
124124 return {
125125 contextValue : 'openshift.k8sContext' ,
126126 label : this . kubeConfig . getCluster ( element . cluster ) . server ,
127- collapsibleState : TreeItemCollapsibleState . Collapsed
127+ collapsibleState : TreeItemCollapsibleState . Collapsed ,
128+ iconPath : path . resolve ( __dirname , '../../images/context/cluster-node.png' )
128129 } ;
129130 }
130131
@@ -136,14 +137,17 @@ export class OpenShiftExplorer implements TreeDataProvider<ExplorerItem>, Dispos
136137 contextValue : 'openshift.project' ,
137138 label : element . metadata . name ,
138139 collapsibleState : TreeItemCollapsibleState . Collapsed ,
139- iconPath : path . resolve ( __dirname , '../../images/context/dark/ project.svg ' )
140+ iconPath : path . resolve ( __dirname , '../../images/context/project-node.png ' )
140141 }
141142 }
142143 return {
143144 contextValue : 'openshift.k8sObject' ,
144145 label : element . metadata . name ,
145146 collapsibleState : TreeItemCollapsibleState . None ,
146- iconPath : element . kind === 'Deployment' ? path . resolve ( __dirname , '../../images/context/dark/deployment.svg' ) : path . resolve ( __dirname , '../../images/context/dark/deployment-config.svg' )
147+ iconPath : {
148+ dark : path . resolve ( __dirname , '../../images/context/component-node-dark.png' ) ,
149+ light : path . resolve ( __dirname , '../../images/context/component-node-light.png' )
150+ }
147151 } ;
148152 }
149153
0 commit comments