fix: Adjust the badge count to reflect the current tab
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
This commit is contained in:
parent
2afb5ea7e9
commit
59a3f964c4
1 changed files with 5 additions and 1 deletions
|
|
@ -219,7 +219,11 @@ watch(
|
||||||
color: hsl(var(--info-bg));
|
color: hsl(var(--info-bg));
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ Object.values(stats).reduce((s, v) => s + v, 0) }}
|
{{
|
||||||
|
pageState.isMessenger
|
||||||
|
? pageState.total
|
||||||
|
: stats[pageState.currentTab as TaskOrderStatus]
|
||||||
|
}}
|
||||||
</q-badge>
|
</q-badge>
|
||||||
<q-btn
|
<q-btn
|
||||||
class="q-ml-sm"
|
class="q-ml-sm"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue