From 378bbfce0339bd7485f35b748a420e308d5cfa9d Mon Sep 17 00:00:00 2001 From: romankko2 Date: Wed, 8 Nov 2023 17:19:27 +0100 Subject: [PATCH] bug --- .../tm@dashboard/teams/_mixins/TeamsCalendar.mixin.ts | 4 ++-- .../plugins/tm@modal/_components/read-only/z-files.vue | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/src/plugins/tm@dashboard/teams/_mixins/TeamsCalendar.mixin.ts b/app/src/plugins/tm@dashboard/teams/_mixins/TeamsCalendar.mixin.ts index 53e9b11..a3d36ee 100644 --- a/app/src/plugins/tm@dashboard/teams/_mixins/TeamsCalendar.mixin.ts +++ b/app/src/plugins/tm@dashboard/teams/_mixins/TeamsCalendar.mixin.ts @@ -86,7 +86,7 @@ export default { nonWorkingHours.push({ title: "Non working hours", start: dayStart, - end: this._setMinutesToDate((employee.work_start + 1.3) * 60), + end: this._setMinutesToDate((employee.work_start + 0.1) * 60), split: index + 1, type: 'non-working-hours', draggable: false @@ -94,7 +94,7 @@ export default { nonWorkingHours.push({ title: "Non working hours", - start: this._setMinutesToDate((employee.work_end + 1.3) * 60), + start: this._setMinutesToDate((employee.work_end + 0.1) * 60), end: dayEnd, split: index + 1, type: 'non-working-hours', diff --git a/app/src/plugins/tm@modal/_components/read-only/z-files.vue b/app/src/plugins/tm@modal/_components/read-only/z-files.vue index 1763e5c..0660ba9 100644 --- a/app/src/plugins/tm@modal/_components/read-only/z-files.vue +++ b/app/src/plugins/tm@modal/_components/read-only/z-files.vue @@ -48,6 +48,14 @@ export default { file.isLoading = false } }, + + // async downloadAllFiles() { + // for (const file of this.files) { + // if (!file.isLoading) { + // await this.downloadFile(file) + // } + // } + // } } }