release v2.0.0 #4
|
@ -70,7 +70,7 @@ export default defineComponent({
|
||||||
const store = <Store<StateInterfaceBalance>>root.$store;
|
const store = <Store<StateInterfaceBalance>>root.$store;
|
||||||
const now = new Date()
|
const now = new Date()
|
||||||
onMounted(() => {
|
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(() =>
|
const transactions = computed(() =>
|
||||||
store.state.balance.transactions
|
store.state.balance.transactions
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
@request="onRequest"
|
@request="onRequest"
|
||||||
binary-state-sort
|
binary-state-sort
|
||||||
>
|
>
|
||||||
<template v-slot:top="props">
|
<template v-slot:top>
|
||||||
<q-toggle v-model="showCancelled" label="Stornierte einblenden" />
|
<q-toggle v-model="showCancelled" label="Stornierte einblenden" />
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:body-cell="props">
|
<template v-slot:body-cell="props">
|
||||||
|
|
Loading…
Reference in New Issue