Fix broken test for application row

This commit is contained in:
Filipa Lacerda 2018-01-09 11:10:08 +00:00
parent 3d528e2334
commit 1e420c9442
No known key found for this signature in database
GPG key ID: 9CA3FDE4D1E2F1C8

View file

@ -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;