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 () => {
-