[FIX] devtools: update search results on tree change

This commit ensures that search results are properly updated when the
components tree is updated so that it remains coherent if search results
appear or disappear from the view.
This commit is contained in:
Julien Carion (juca)
2023-10-03 16:25:40 +02:00
committed by Géry Debongnie
parent 610c272104
commit 4c7f572dbe
@@ -115,6 +115,9 @@ export const store = reactive({
}
keepEnvLit(details);
this.activeComponent = details;
if (this.componentSearch.search.length) {
this.updateSearch(this.componentSearch.search);
}
},
// Select a component by retrieving its details from the page based on its path