[balance] fixed some typescript errors
This commit is contained in:
		
							parent
							
								
									006e7e4048
								
							
						
					
					
						commit
						b4c080fec6
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue