From b1c90a61daaf9ae0a6dba20bc2afb30b91fcee1a Mon Sep 17 00:00:00 2001 From: "paola.trabucco" Date: Thu, 8 Aug 2024 14:59:17 +0200 Subject: [PATCH] clean log --- src/views/pages/ScenarioExec.vue | 8 -------- src/views/pages/ScenarioList.vue | 5 ----- src/views/pages/auth/Login.vue | 1 - 3 files changed, 14 deletions(-) diff --git a/src/views/pages/ScenarioExec.vue b/src/views/pages/ScenarioExec.vue index 4b437ed..3f5da74 100644 --- a/src/views/pages/ScenarioExec.vue +++ b/src/views/pages/ScenarioExec.vue @@ -127,10 +127,8 @@ const debug_modal = ref(false) onMounted(() => { loading.value = true const id = route.params.id; - console.log(id) axios.get('http://localhost:8081/scenarios/' + id ) .then(response => { - console.log(response); loading.value = false scenario.value = response.data }); @@ -158,13 +156,10 @@ onMounted(() => { inputs: { ...formData.value } }; - console.log(data); - axios.post('http://localhost:8081/scenarios/execute', data) .then(response => { loading_data.value = false; data_loaded.value = true; - console.log(response); scenario_output.value = response.data.stringOutput; exec_id.value = response.data.scenarioExecution_id @@ -179,11 +174,8 @@ onMounted(() => { } const openDebug = () => { - console.log("exec_id", exec_id.value) axios.get('http://localhost:8081/scenarios/execute/'+ exec_id.value).then(resp =>{ exec_scenario.value = resp.data - console.log(exec_scenario.value) - debug_modal.value = true }) } diff --git a/src/views/pages/ScenarioList.vue b/src/views/pages/ScenarioList.vue index bcef3a4..310e22b 100644 --- a/src/views/pages/ScenarioList.vue +++ b/src/views/pages/ScenarioList.vue @@ -88,7 +88,6 @@ import { ScenarioService } from '../../service/ScenarioService.js'; ScenarioService.getScenarios().then(resp=>{ data.scenarios = resp.data loading.value = false - console.log(data.scenarios) }) }); @@ -99,10 +98,8 @@ import { ScenarioService } from '../../service/ScenarioService.js'; }) const filter = computed(() => { - console.log("check"); if (data.search) { - console.log("check1b"); return data.scenarios.filter((item) => { return data.search @@ -111,13 +108,11 @@ import { ScenarioService } from '../../service/ScenarioService.js'; .every((v) => item.name.toLowerCase().includes(v)); }); } else { - console.log("check2b"); return data.scenarios; } }); const executeScenario = (id) => { - console.log(id); router.push({ name: 'scenario-exec', params: { id: id } }); } diff --git a/src/views/pages/auth/Login.vue b/src/views/pages/auth/Login.vue index 25a7e75..fdda449 100644 --- a/src/views/pages/auth/Login.vue +++ b/src/views/pages/auth/Login.vue @@ -18,7 +18,6 @@ const logoUrl = computed(() => { }); const login = async () => { - console.log('Username: ', username.value); try { await auth.login({ data:{