updates exec list with app change
This commit is contained in:
@@ -5,6 +5,7 @@ import { useRouter } from 'vue-router';
|
|||||||
|
|
||||||
|
|
||||||
import { LoadingStore } from '../stores/LoadingStore.js';
|
import { LoadingStore } from '../stores/LoadingStore.js';
|
||||||
|
import { ScenarioExecutionStore } from '../stores/ScenarioExecutionStore.js';
|
||||||
import { ScenarioStore } from '../stores/ScenarioStore.js';
|
import { ScenarioStore } from '../stores/ScenarioStore.js';
|
||||||
import { UserPrefStore } from '../stores/UserPrefStore.js';
|
import { UserPrefStore } from '../stores/UserPrefStore.js';
|
||||||
|
|
||||||
@@ -22,6 +23,7 @@ const router = useRouter();
|
|||||||
const props = defineProps(['page']);
|
const props = defineProps(['page']);
|
||||||
const userPrefStore = UserPrefStore();
|
const userPrefStore = UserPrefStore();
|
||||||
const scenario_store = ScenarioStore();
|
const scenario_store = ScenarioStore();
|
||||||
|
const scenario_execution_store = ScenarioExecutionStore();
|
||||||
const loadingStore = LoadingStore()
|
const loadingStore = LoadingStore()
|
||||||
const selectedApp = ref(userPrefStore.getSelApp);
|
const selectedApp = ref(userPrefStore.getSelApp);
|
||||||
|
|
||||||
@@ -35,6 +37,7 @@ async function updateApplication() {
|
|||||||
await userPrefStore.setSelectedApp(selectedApp.value);
|
await userPrefStore.setSelectedApp(selectedApp.value);
|
||||||
|
|
||||||
scenario_store.fetchApplicationScenarios();
|
scenario_store.fetchApplicationScenarios();
|
||||||
|
scenario_execution_store.fetchScenariosExecution();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user