fix: Adjust the badge count to reflect the current tab
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s

This commit is contained in:
Aif 2025-10-20 10:11:24 +07:00
parent 2afb5ea7e9
commit 59a3f964c4

View file

@ -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"