Skip to content

Commit

Permalink
fix cart count in collapsed mode
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak committed Dec 13, 2023
1 parent e55f2a7 commit a1e49c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/tpos/tpos.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ <h5 class="q-mt-none q-mb-sm">${totalfsat}<small> sat</small></h5>
fab
icon="shopping_bag"
color="primary"
><q-badge color="red" floating>${cart.size}</q-badge></q-btn
><q-badge color="red" floating>${[...this.cart.values()].reduce((a,i)=>a+i.quantity,0)}</q-badge></q-btn
></q-page-sticky
>
</template>
Expand Down

0 comments on commit a1e49c5

Please sign in to comment.