mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[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:
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
|
||||
|
||||
Reference in New Issue
Block a user