From fdc17b3f1130ee8355eccc25d255c439805e7d67 Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Tue, 5 Oct 2021 12:54:18 -0600 Subject: [PATCH] labeling nitpicks, bump v0.4.7 --- VERSION | 2 +- client/js/akt/AKTClusterConfig.js | 5 +++-- client/js/akt/AKTDashboard.js | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 9a48aad..a9e3e23 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.4.6 +v0.4.7 diff --git a/client/js/akt/AKTClusterConfig.js b/client/js/akt/AKTClusterConfig.js index 2818697..a6ad724 100644 --- a/client/js/akt/AKTClusterConfig.js +++ b/client/js/akt/AKTClusterConfig.js @@ -122,7 +122,6 @@ export class AKTClusterConfig{ }) if(canConfigureKubernetes){ - $('#ingressPortsMessage').show(); $('#initCluster').removeClass('cancel').addClass('save'); let k8sConfigEnhanced = this.autoConfigureK8sData(configData); this.renderKubernetesConfig(configData); @@ -259,7 +258,9 @@ export class AKTClusterConfig{ } } }) - + if(ingressName != ''){ + $('#ingressPortsMessage').show(); + } configData.nodes.map(node=>{ if(!node.selected){ return; diff --git a/client/js/akt/AKTDashboard.js b/client/js/akt/AKTDashboard.js index 13f3962..5fad77e 100644 --- a/client/js/akt/AKTDashboard.js +++ b/client/js/akt/AKTDashboard.js @@ -100,8 +100,9 @@ export class AKTDashboard { }) this.socket.on('kubesprayVersionStatus',data=>{ console.log('kubespray version status',data); - if(data.local != data.latest){ + if(data.local != data.latest && data.latest.trim() != ''){ //show kubespray update option + //ensure its not blank $('.options #kubesprayUpdateAvailable').show(); $('.options #kubesprayUpdateAvailable').off('click').on('click',()=>{ //show modal