Skip to content

Commit 2fd062f

Browse files
Added badge to show count of arxhived workspaces and candidates
1 parent 5695bb4 commit 2fd062f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

web/components/workspace/WorkspaceReviewsPanel.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
@click="showArchived = !showArchived"
2626
flat
2727
>
28+
<QBadge
29+
v-show="filteredCandidates.length !== candidates.length"
30+
color="accent"
31+
:label="candidates.length - filteredCandidates.length"
32+
floating
33+
/>
2834
<QTooltip>
2935
{{ showArchived ? "Showing archived" : "Hiding archived" }}
3036
</QTooltip>

web/pages/home.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
@click="showArchived = !showArchived"
1818
flat
1919
>
20+
<QBadge
21+
v-show="filteredWorkspaces.length !== workspaces.length"
22+
color="accent"
23+
:label="workspaces.length - filteredWorkspaces.length"
24+
floating
25+
/>
2026
<QTooltip>
2127
{{ showArchived ? "Showing archived" : "Hiding archived" }}
2228
</QTooltip>

0 commit comments

Comments
 (0)