Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymous committed Mar 15, 2024
1 parent 6bd891f commit 8b94e6b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/pages/BalanceFlow/DataTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,10 @@ export default () => {

const { data : tags = [], loading : tagsLoading, run : loadTags} = useRequest(() => queryAll('tags', {
'bookId': currentBook?.id,
'canExpense': type === 'EXPENSE' ? true : null,
'canIncome': type === 'INCOME' ? true : null,
'canTransfer': type === 'TRANSFER' ? true : null,
}), { manual: true });

const { data : payees = [], loading : payeesLoading, run : loadPayees} = useRequest(() => queryAll('payees', {
'bookId': currentBook?.id,
'canExpense': type === 'EXPENSE' ? true : null,
'canIncome': type === 'INCOME' ? true : null,
}), { manual: true });

const { data : books = [], loading: booksLoading, run: loadBooks } = useRequest(() => queryAll('books'), { manual: true });
Expand Down

0 comments on commit 8b94e6b

Please sign in to comment.