[PATCH] [config_tool] Imported scenarios not populating CAT widget


Chuang Ke
 

fix CAT widget data doesn't refresh after import another scenario
the focus will go to "Basic Parameters" tab after import a scenario everytime. so that data could be refresh.

Tracked-On: #8068
Signed-off-by: Chuang-Ke <chuangx.ke@...>
---
.../configurator/packages/configurator/src/pages/Config.vue | 1 +
1 file changed, 1 insertion(+)

diff --git a/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue b/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue
index a5c1e639a..86c925533 100644
--- a/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue
+++ b/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue
@@ -198,6 +198,7 @@ export default {
this.updateCurrentFormSchema()
this.updateCurrentFormData()
configurator.cat.scenarioLoaded()
+ this.switchTab(-1)
},
getSchemaData() {
return this.schemas
--
2.25.1