[balance] fixed some typescript errors

This commit is contained in:
Tim Gröger 2021-01-29 23:00:46 +01:00
parent 006e7e4048
commit b4c080fec6
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ export default defineComponent({
const store = <Store<StateInterfaceBalance>>root.$store;
const now = new Date()
onMounted(() => {
store.dispatch('balance/getTransactions', {filter: {from: new Date(now.getFullYear(), now.getMonth(), now.getDay())}})
void store.dispatch('balance/getTransactions', {filter: {from: new Date(now.getFullYear(), now.getMonth(), now.getDay())}})
})
const transactions = computed(() =>
store.state.balance.transactions

View File

@ -17,7 +17,7 @@
@request="onRequest"
binary-state-sort
>
<template v-slot:top="props">
<template v-slot:top>
<q-toggle v-model="showCancelled" label="Stornierte einblenden" />
</template>
<template v-slot:body-cell="props">