From 73789fdfd2a6e34c9a05cc9e65930146e23b3195 Mon Sep 17 00:00:00 2001 From: Chris Baumbauer Date: Sat, 3 Nov 2018 14:43:48 -0700 Subject: Fix the way hostname is validated with the knative app --- app/assets/javascripts/clusters/stores/clusters_store.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app/assets/javascripts') diff --git a/app/assets/javascripts/clusters/stores/clusters_store.js b/app/assets/javascripts/clusters/stores/clusters_store.js index 26566b60ba6..f4a016f3ef1 100644 --- a/app/assets/javascripts/clusters/stores/clusters_store.js +++ b/app/assets/javascripts/clusters/stores/clusters_store.js @@ -52,7 +52,7 @@ export default class ClusterStore { statusReason: null, requestStatus: null, requestReason: null, - hostname: null + hostname: null, }, }, }; @@ -102,7 +102,9 @@ export default class ClusterStore { ? `jupyter.${this.state.applications.ingress.externalIp}.nip.io` : ''); } else if (appId === KNATIVE) { - this.state.applications.knative.hostname = serverAppEntry.hostname ? serverAppEntry.hostname : null; + this.state.applications.knative.hostname = serverAppEntry.hostname + ? serverAppEntry.hostname + : null; } }); } -- cgit v1.2.1