From 5f75b397d121a24bf0d0dbca61abcc323b88ba9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Glasn=C3=A1k?= Date: Tue, 13 Dec 2022 00:32:31 +0100 Subject: [PATCH] [Calendar] Added resize on focus --- .../plugins/tm@dashboard/tasks/_components/z-timeline.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/plugins/tm@dashboard/tasks/_components/z-timeline.vue b/app/src/plugins/tm@dashboard/tasks/_components/z-timeline.vue index 2913d92..dc001e3 100644 --- a/app/src/plugins/tm@dashboard/tasks/_components/z-timeline.vue +++ b/app/src/plugins/tm@dashboard/tasks/_components/z-timeline.vue @@ -128,6 +128,7 @@ export default { }, async eventMoved(e) { + this.focusedEventId = e.event.id this.$emit('eventMoved', e) }, @@ -179,7 +180,8 @@ export default { eventFocused(event) { this.focusedEventId = event.task_id - } + console.log(`Focused: ${event.task_id}`) + }, } } @@ -193,7 +195,6 @@ export default { padding-top: 50px &:deep() - .vuecal__cells -ms-overflow-style: none scrollbar-width: none @@ -338,6 +339,4 @@ export default { .event-footer border-top: 1px solid rgba(255, 255, 255, 0.19) - -