From 2e33e07d1f8c53518147108b24ad09208f6406d2 Mon Sep 17 00:00:00 2001 From: xds Date: Tue, 1 Apr 2025 10:31:29 +0300 Subject: [PATCH] fix recurrents & categories --- src/components/transactions/TransactionFormContent.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/transactions/TransactionFormContent.vue b/src/components/transactions/TransactionFormContent.vue index 2583368..89a6682 100644 --- a/src/components/transactions/TransactionFormContent.vue +++ b/src/components/transactions/TransactionFormContent.vue @@ -87,7 +87,7 @@ const fetchCategoriesAndTypes = async () => { getCategories(), getCategoryTypes(), getTransactionTypes(), - getTransactions() + getTransactions("INSTANT", null, null, null, null, 3, null) ]); entireCategories.value = categoriesResponse.data; @@ -233,7 +233,7 @@ const createTransaction = async (): Promise => { const transactionsUpdatedEmit = async () => { - await getTransactions( 'INSTANT', 'EXPENSE', null, user.value.id, false, 3).then(transactionsResponse => transactions.value = transactionsResponse.data); + await getTransactions('INSTANT', 'EXPENSE', null, user.value.id, false, 3).then(transactionsResponse => transactions.value = transactionsResponse.data); EventBus.emit('transactions-updated', true) } @@ -493,7 +493,8 @@ onMounted(async () => {
-