From a4941e511fd45b9b834368cac83ba334cd5745be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Glasn=C3=A1k?= Date: Wed, 13 Nov 2024 02:19:45 +0100 Subject: [PATCH] Feat(office365) Disable timeblocks for tasks, if task is synced from Office365 --- .../_components/_components/a-task-timeblocks.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/src/plugins/tm@modal/task/_components/_components/a-task-timeblocks.vue b/app/src/plugins/tm@modal/task/_components/_components/a-task-timeblocks.vue index 1cd7dbe..84f2c48 100644 --- a/app/src/plugins/tm@modal/task/_components/_components/a-task-timeblocks.vue +++ b/app/src/plugins/tm@modal/task/_components/_components/a-task-timeblocks.vue @@ -11,15 +11,15 @@ -
+

Pridať záznam

- +

{{ tmUtils.formatDateTime(timeblock.start) }} - {{ tmUtils.formatDateTime(timeblock.end) }}

- +
@@ -119,7 +119,11 @@ export default { }, computed: { - ...mapGetters('tm', ['mastertasks']) + ...mapGetters('tm', ['mastertasks']), + isOffice365Task() { + // TODO office365: Only for office365 events + return true + } }, methods: {