diff options
author | Phil Hughes <me@iamphill.com> | 2018-01-12 16:10:49 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-01-15 22:36:53 +0300 |
commit | f57dac49b5123199eda449e292eb9370dce003da (patch) | |
tree | 4c061443e40a9dd11717dbc3812e311c36f7ffbf /app | |
parent | 8ac23312b5d57b5530f0f8747b9bdd5e84ca8d5b (diff) |
Merge branch '41937-vue-prop-type' into 'master'
Resolve "Fix type is started key"
Closes #41937
See merge request gitlab-org/gitlab-ce!16407
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/jobs/components/header.vue | 6 |
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 c660828b30e..a17514231b5 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; }, }, methods: { |