cleared execution data after changing a scenario, added logic to change scenario execution from url
This commit is contained in:
@@ -178,6 +178,8 @@ watch(() => route.params.id, fetchScenario);
|
||||
|
||||
//Function to fetch scenarios
|
||||
function fetchScenario(id) {
|
||||
data_loaded.value = false;
|
||||
formData.value = {};
|
||||
loading.value = true;
|
||||
axios.get(`/scenarios/${id}`)
|
||||
.then(response => {
|
||||
|
||||
Reference in New Issue
Block a user