diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2018-08-07 19:05:43 +0000 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-08-07 19:05:43 +0000 |
commit | 83badd07f783880079ecfb4f47705fe62760b8da (patch) | |
tree | 41ce99fe42c9d80c18012b0e2c669852ffdff79d /app/assets/javascripts/clusters/components/applications.vue | |
parent | 29203198b6537551b7165538846eb9124c6d9ff3 (diff) | |
download | gitlab-ce-83badd07f783880079ecfb4f47705fe62760b8da.tar.gz |
Fix UI error whereby prometheus application status is updated
Diffstat (limited to 'app/assets/javascripts/clusters/components/applications.vue')
-rw-r--r-- | app/assets/javascripts/clusters/components/applications.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/clusters/components/applications.vue b/app/assets/javascripts/clusters/components/applications.vue index 8ee7279e544..d708a9e595a 100644 --- a/app/assets/javascripts/clusters/components/applications.vue +++ b/app/assets/javascripts/clusters/components/applications.vue @@ -3,7 +3,7 @@ import _ from 'underscore'; import { s__, sprintf } from '../../locale'; import applicationRow from './application_row.vue'; import clipboardButton from '../../vue_shared/components/clipboard_button.vue'; -import { APPLICATION_INSTALLED, INGRESS } from '../constants'; +import { APPLICATION_STATUS, INGRESS } from '../constants'; export default { components: { @@ -58,7 +58,7 @@ export default { return INGRESS; }, ingressInstalled() { - return this.applications.ingress.status === APPLICATION_INSTALLED; + return this.applications.ingress.status === APPLICATION_STATUS.INSTALLED; }, ingressExternalIp() { return this.applications.ingress.externalIp; @@ -122,7 +122,7 @@ export default { ); }, jupyterInstalled() { - return this.applications.jupyter.status === APPLICATION_INSTALLED; + return this.applications.jupyter.status === APPLICATION_STATUS.INSTALLED; }, jupyterHostname() { return this.applications.jupyter.hostname; |