runs: show no runs message

This commit is contained in:
Simone Gotti 2019-04-29 16:34:04 +02:00
parent 30fba20a2b
commit 1d6472811d
1 changed files with 56 additions and 53 deletions

View File

@ -1,6 +1,7 @@
<template>
<div>
<div class="item-list">
<div v-if="runs.length > 0">
<div class="item" v-for="run in runs" v-bind:key="run.id" :class="runResultClass(run)">
<div class="item-content">
<router-link
@ -60,6 +61,8 @@
</div>
</div>
</div>
<div v-else class="item-list">No runs</div>
</div>
</div>
</template>