fix bad update

This commit is contained in:
Joao Moreno 2019-09-06 17:22:01 +02:00
parent eb514dbb67
commit 174c9c69ec

View file

@ -396,7 +396,7 @@ export class IndexTreeModel<T extends Exclude<any, undefined>, TFilterData = voi
result.push(node);
node.renderNodeCount = 1;
if (node.collapsible && !node.collapsed) {
if (!node.collapsed) {
for (const child of node.children) {
node.renderNodeCount += this._updateNodeAfterCollapseChange(child, result);
}