refactor: update total display logic in MainPage.vue to sum stats values
This commit is contained in:
parent
529d4ad3df
commit
a8f11d158b
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ watch(
|
||||||
color: hsl(var(--info-bg));
|
color: hsl(var(--info-bg));
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ pageState.total }}
|
{{ Object.values(stats).reduce((s, v) => s + v, 0) }}
|
||||||
</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