From 4a0c83810e9ff068fff365a6bb3d1a6c56bd1fef Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Sun, 2 Oct 2022 21:21:37 +0200 Subject: [PATCH] feat: singleTaskInList script setup --- 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 @@