From 776f7783c68ba30a8fd1d3ce401f47004a22c848 Mon Sep 17 00:00:00 2001 From: vicent Date: Wed, 8 Mar 2023 12:06:20 +0100 Subject: [PATCH] refactor code --- modules/worker/front/time-control/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/worker/front/time-control/index.js b/modules/worker/front/time-control/index.js index 2ea642709..441b3bbf7 100644 --- a/modules/worker/front/time-control/index.js +++ b/modules/worker/front/time-control/index.js @@ -411,7 +411,7 @@ class Controller extends Section { url: url, }; this.$http.post(`WorkerTimeControls/weekly-hour-hecord-email`, params) - .then(res => { + .then(() => { this.vnApp.showSuccess(this.$t('Email sended')); }); } @@ -429,7 +429,6 @@ class Controller extends Section { const query = `WorkerTimeControls/${this.$params.id}/getMailStates`; this.$http.get(query, {params}) .then(res => { - console.log(res.data); this.workerTimeControlMails = res.data; this.repaint(); });