reset flag

This commit is contained in:
Mads Rasmussen
2024-03-01 20:33:19 +01:00
parent b2c4fc1786
commit 6f187d7cb1

View File

@@ -122,6 +122,7 @@ export abstract class UmbTreeItemContextBase<TreeItemType extends UmbTreeItemMod
this.#observeIsSelectable();
this.#observeIsSelected();
this.#observeSectionPath();
this.#hasChildrenInitValueFlag = false;
this.#observeHasChildren();
}
@@ -178,6 +179,7 @@ export abstract class UmbTreeItemContextBase<TreeItemType extends UmbTreeItemMod
this.treeContext = treeContext;
this.#observeIsSelectable();
this.#observeIsSelected();
this.#hasChildrenInitValueFlag = false;
this.#observeHasChildren();
});