summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-01-11 19:07:42 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-01-11 19:45:23 +0000
commitdddd261c34d9a06f35957219b7813b32438c718b (patch)
tree9dac8327307ceda62e02135265465798f3c1c28a /app
parent34760245bcb4156e21ca463b82b1fab84508b842 (diff)
downloadgitlab-ce-dddd261c34d9a06f35957219b7813b32438c718b.tar.gz
Fix boolean prop being provided as string41937-vue-prop-type
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/jobs/components/header.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/jobs/components/header.vue b/app/assets/javascripts/jobs/components/header.vue
index 9e3f659db5f..321a4872ccc 100644
--- a/app/assets/javascripts/jobs/components/header.vue
+++ b/app/assets/javascripts/jobs/components/header.vue
@@ -30,8 +30,12 @@
shouldRenderContent() {
return !this.isLoading && Object.keys(this.job).length;
},
+ /**
+ * When job has not started the key will be `false`
+ * When job started the key will be a string with a date.
+ */
jobStarted() {
- return this.job.started;
+ return !this.job.started === false;
},
},
watch: {