Move verification to block level instead of paragraph

This commit is contained in:
Filipa Lacerda 2017-06-29 14:24:09 +00:00 committed by Phil Hughes
parent efb7b2d341
commit 19364c2b78
1 changed files with 12 additions and 1 deletions

View File

@ -39,6 +39,17 @@
runnerId() {
return `#${this.job.runner.id}`;
},
renderBlock() {
return this.job.merge_request ||
this.job.duration ||
this.job.finished_data ||
this.job.erased_at ||
this.job.queued ||
this.job.runner ||
this.job.coverage ||
this.job.tags.length ||
this.job.cancel_path;
},
},
};
</script>
@ -63,7 +74,7 @@
Retry
</a>
</div>
<div class="block">
<div :class="{block : renderBlock }">
<p
class="build-detail-row js-job-mr"
v-if="job.merge_request">