mirror of
https://github.com/frappe/books.git
synced 2024-11-09 23:30:56 +00:00
fix: skip if account tree doesn't have acc
This commit is contained in:
parent
95f40d4c20
commit
648a82ce08
@ -461,6 +461,10 @@ function setValueMapOnAccountTreeNodes(
|
||||
rangeGroupedMap: AccountNameValueMapMap
|
||||
) {
|
||||
for (const name of rangeGroupedMap.keys()) {
|
||||
if (!accountTree[name]) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const valueMap = rangeGroupedMap.get(name)!;
|
||||
accountTree[name].valueMap = valueMap;
|
||||
accountTree[name].prune = false;
|
||||
|
Loading…
Reference in New Issue
Block a user