Skip to content

Commit 32d2d78

Browse files
committed
Update job toggle butotn text based on job table display
1 parent 42d2e48 commit 32d2d78

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

site/frontend/src/pages/status_new/collector.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,10 @@ function formatProfile(job: BenchmarkJob): string {
141141
</span>
142142
<span>{{ formatISODate(collector.dateAdded) }}</span>
143143
</div>
144-
<button @click="toggleShowJobs">show jobs</button>
144+
<button @click="toggleShowJobs" class="show-jobs">
145+
<template v-if="showJobs">Hide jobs</template>
146+
<template v-else>Show jobs</template>
147+
</button>
145148
</div>
146149

147150
<div v-if="showJobs" class="table-collector-wrapper">

0 commit comments

Comments
 (0)