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(); }