summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/clusters/components/application_row.vue
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-11-06 10:07:19 -0600
committerEric Eastwood <contact@ericeastwood.com>2017-11-06 10:07:19 -0600
commitf4fb0340094508106113c0c7c22c865fa7c73f7f (patch)
treea0efd5829901b6b73f3d6a6625a74a67bc497b0e /app/assets/javascripts/clusters/components/application_row.vue
parent895b6e5d80397fdd6cb5e1727a410a08f8a5b332 (diff)
downloadgitlab-ce-f4fb0340094508106113c0c7c22c865fa7c73f7f.tar.gz
Add FE tests for not_installable/scheduled and cluster banner rules36629-35958-add-cluster-application-section
Diffstat (limited to 'app/assets/javascripts/clusters/components/application_row.vue')
-rw-r--r--app/assets/javascripts/clusters/components/application_row.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/clusters/components/application_row.vue b/app/assets/javascripts/clusters/components/application_row.vue
index 9c5ff39534f..3dc658d0f1f 100644
--- a/app/assets/javascripts/clusters/components/application_row.vue
+++ b/app/assets/javascripts/clusters/components/application_row.vue
@@ -75,7 +75,11 @@ export default {
},
installButtonLabel() {
let label;
- if (this.status === APPLICATION_INSTALLABLE || this.status === APPLICATION_ERROR || this.status === APPLICATION_NOT_INSTALLABLE) {
+ if (
+ this.status === APPLICATION_NOT_INSTALLABLE ||
+ this.status === APPLICATION_INSTALLABLE ||
+ this.status === APPLICATION_ERROR
+ ) {
label = s__('ClusterIntegration|Install');
} else if (this.status === APPLICATION_SCHEDULED || this.status === APPLICATION_INSTALLING) {
label = s__('ClusterIntegration|Installing');