mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
fix: delete and bulk delete accounts.
fix: activate and inactivate accounts.
This commit is contained in:
@@ -256,7 +256,7 @@ export const flatToNestedArray = (
|
||||
if (!item[config.parentId]) {
|
||||
nestedArray.push(item);
|
||||
}
|
||||
if (parentItemId) {
|
||||
if (parentItemId && map[parentItemId]) {
|
||||
map[parentItemId].children.push(item);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user