watch fix

This commit is contained in:
William Buezas 2024-05-27 14:44:44 -03:00
parent c4b88fae41
commit 7cd2bf2319
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ watch(storeData, async (val) => {
for (let n of state.get('Tree')) {
await fetchNodeLeaves(n);
}
expanded.value = [null];
expanded.value = [null, ...fetchedNodeKeys];
}
previousExpandedNodes.value = new Set(expanded.value);
});