From 44e6981759261cdada6388384cbad96e5401b8a9 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Tue, 1 Nov 2022 10:43:01 +0000 Subject: [PATCH] feat: singleTaskInList script setup (#2463) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2463 Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/components/tasks/partials/defer-task.vue | 4 +- .../tasks/partials/singleTaskInList.vue | 319 ++++++++++-------- 2 files changed, 171 insertions(+), 152 deletions(-) diff --git a/src/components/tasks/partials/defer-task.vue b/src/components/tasks/partials/defer-task.vue index c86db0fc4..46d9853fd 100644 --- a/src/components/tasks/partials/defer-task.vue +++ b/src/components/tasks/partials/defer-task.vue @@ -61,8 +61,8 @@ const taskService = shallowReactive(new TaskService()) const task = ref() // We're saving the due date seperately to prevent null errors in very short periods where the task is null. -const dueDate = ref() -const lastValue = ref() +const dueDate = ref() +const lastValue = ref() const changeInterval = ref>() watch( diff --git a/src/components/tasks/partials/singleTaskInList.vue b/src/components/tasks/partials/singleTaskInList.vue index 36a1fb064..7d2a4d581 100644 --- a/src/components/tasks/partials/singleTaskInList.vue +++ b/src/components/tasks/partials/singleTaskInList.vue @@ -1,30 +1,38 @@