fix: full amount bold expenses transactions.

fix: bulk delete expenses transactions.
fix: issue delete account node in tree.
This commit is contained in:
Ahmed Bouhuolia
2020-12-02 18:24:14 +02:00
parent ac6904daaa
commit 72bf3096bb
6 changed files with 23 additions and 6 deletions

View File

@@ -35,6 +35,7 @@ export const getAccountsListFactory = () =>
return treeToList(accountsTree, {
idFieldKey: 'id',
childrenFieldKey: 'children',
nodeFilter: (node, depth) => accountsItems[node.id],
nodeMapper: (node, depth) => {
const account = accountsItems[node.id];
const spaceChar = String.fromCharCode(160);