refactor code

This commit is contained in:
Vicent Llopis 2023-03-08 12:06:20 +01:00
parent 0396d3707c
commit 776f7783c6
1 changed files with 1 additions and 2 deletions

View File

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