0
0
Fork 0

refs #6334 fix amount, colors

This commit is contained in:
Carlos Satorres 2023-12-04 11:40:17 +01:00
parent cad5d830a0
commit 4eee95b945
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ async function onFetchClaim(data) {
const amount = ref(0);
const amountClaimed = ref(0);
async function onFetch(rows) {
if (!rows || rows.length) return;
if (!rows || !rows.length) return;
amount.value = rows.reduce(
(acumulator, { sale }) => acumulator + sale.price * sale.quantity,
0
@ -155,7 +155,7 @@ function showImportDialog() {
</script>
<template>
<Teleport to="#st-data" v-if="stateStore.isSubToolbarShown()">
<QToolbar class="bg-dark text-white">
<QToolbar class="">
<div class="row q-gutter-md">
<div>
{{ t('Amount') }}