From 7cd2bf231911dc22214d72cdc26380c9adf86c0d Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 27 May 2024 14:44:44 -0300 Subject: [PATCH] watch fix --- src/pages/Zone/Card/ZoneLocationsTree.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Zone/Card/ZoneLocationsTree.vue b/src/pages/Zone/Card/ZoneLocationsTree.vue index 8b96bfae5..4f594cb03 100644 --- a/src/pages/Zone/Card/ZoneLocationsTree.vue +++ b/src/pages/Zone/Card/ZoneLocationsTree.vue @@ -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); });