From 1e420c94421c569ae7d428ae2fe6e26671036180 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Tue, 9 Jan 2018 11:10:08 +0000 Subject: [PATCH] Fix broken test for application row --- .../javascripts/clusters/components/application_row.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/clusters/components/application_row.vue b/app/assets/javascripts/clusters/components/application_row.vue index 490fe27a7d4..fb41b7c6ab4 100644 --- a/app/assets/javascripts/clusters/components/application_row.vue +++ b/app/assets/javascripts/clusters/components/application_row.vue @@ -39,7 +39,7 @@ status: { type: String, required: false, - default: '', + default: null, }, statusReason: { type: String, @@ -62,7 +62,7 @@ return `js-cluster-application-row-${this.id}`; }, installButtonLoading() { - return this.status !== '' || + return this.status || this.status === APPLICATION_SCHEDULED || this.status === APPLICATION_INSTALLING || this.requestStatus === REQUEST_LOADING;