refactor: update total display logic in MainPage.vue to sum stats values

This commit is contained in:
puriphatt 2025-02-20 10:48:46 +07:00
parent 529d4ad3df
commit a8f11d158b

View file

@ -203,7 +203,7 @@ watch(
color: hsl(var(--info-bg));
"
>
{{ pageState.total }}
{{ Object.values(stats).reduce((s, v) => s + v, 0) }}
</q-badge>
<q-btn
class="q-ml-sm"