fixes / refactoring

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-07-14 15:39:35 +03:00
1 parent fbcb2fd281
commit 79e5d6eddc
9 files changed
+27 -16

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ export class Cluster implements ClusterModel {
updateModel(model: ClusterModel) {
Object.assign(this, model);
this.apiUrl = this.getKubeconfig().getCurrentCluster().server;
this.contextName = this.preferences.clusterName;
this.contextName = this.contextName || this.preferences.clusterName;
}
@action