From dbcd72fc401bed9b4aa57a5087f5f2b08fc5ab3c Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 20 Jan 2025 17:51:48 +0100 Subject: [PATCH] feat(filter): allow dragging tasks in saved filter Since migrating to views, this was already possible. This change only updates the API to make it actually work. Resolves https://kolaente.dev/vikunja/vikunja/issues/1659 --- frontend/src/components/project/views/ProjectList.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/project/views/ProjectList.vue b/frontend/src/components/project/views/ProjectList.vue index db1fd4626..09f2bbd38 100644 --- a/frontend/src/components/project/views/ProjectList.vue +++ b/frontend/src/components/project/views/ProjectList.vue @@ -50,13 +50,13 @@ v-model="tasks" group="tasks" handle=".handle" - :disabled="!canWrite" + :disabled="!canDragTasks" item-key="id" tag="ul" :component-data="{ class: { tasks: true, - 'dragging-disabled': !canWrite || isAlphabeticalSorting + 'dragging-disabled': !canDragTasks || isAlphabeticalSorting }, type: 'transition-group' }" @@ -68,13 +68,13 @@