From 9f2c8d39a04ff4319b73773fe74bc9492592615b Mon Sep 17 00:00:00 2001 From: Florinda Date: Wed, 4 Dec 2024 15:11:50 +0100 Subject: [PATCH] updates exec list with app change --- src/layout/AppTopbar.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layout/AppTopbar.vue b/src/layout/AppTopbar.vue index 19ca88d..9b4a0af 100644 --- a/src/layout/AppTopbar.vue +++ b/src/layout/AppTopbar.vue @@ -5,6 +5,7 @@ import { useRouter } from 'vue-router'; import { LoadingStore } from '../stores/LoadingStore.js'; +import { ScenarioExecutionStore } from '../stores/ScenarioExecutionStore.js'; import { ScenarioStore } from '../stores/ScenarioStore.js'; import { UserPrefStore } from '../stores/UserPrefStore.js'; @@ -22,6 +23,7 @@ const router = useRouter(); const props = defineProps(['page']); const userPrefStore = UserPrefStore(); const scenario_store = ScenarioStore(); +const scenario_execution_store = ScenarioExecutionStore(); const loadingStore = LoadingStore() const selectedApp = ref(userPrefStore.getSelApp); @@ -35,6 +37,7 @@ async function updateApplication() { await userPrefStore.setSelectedApp(selectedApp.value); scenario_store.fetchApplicationScenarios(); + scenario_execution_store.fetchScenariosExecution(); }