fix(ui): a workflow with no runs says so instead of showing a dash

This commit is contained in:
sam committed 2026-11-13 13:27:10 +11:00
1 parent 6b7f6f2731
commit 73e32f016a
1 file changed
+1 -1
+1 -1
View File
@@ -263,7 +263,7 @@ const rate = (deliveredRuns = 0, total = 0) => (total ? deliveredRuns / total :
<StatusDot tone="info" live />{{ row.running }} running
</span>
<span v-else-if="row.last_status" class="w-20 shrink-0 truncate" :title="`Latest run: ${statusLabel(row.last_status)}`">{{ statusLabel(row.last_status) }}</span>
<span v-else class="w-20 shrink-0">–</span>
<span v-else class="shrink-0">Never run</span>
<span v-if="row.runs" class="h-1 flex-1 overflow-hidden rounded-full bg-border" role="img" :aria-label="`${delivered(row)} of ${row.runs ?? 0} runs delivered`" :title="`${delivered(row)} of ${row.runs ?? 0} runs delivered`">
<span class="block h-full rounded-full bg-primary" :style="{ width: `${rate(delivered(row), row.runs) * 100}%` }" />
</span>