mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-24 22:25:15 +00:00
fix(kanban): do not set bucket when it is null
This commit is contained in:
@@ -533,7 +533,9 @@ async function updateTaskPosition(e) {
|
||||
if (updatedTaskBucket.bucketId !== newTask.bucketId) {
|
||||
kanbanStore.moveTaskToBucket(newTask, updatedTaskBucket.bucketId)
|
||||
}
|
||||
kanbanStore.setBucketById(updatedTaskBucket.bucket, false)
|
||||
if (updatedTaskBucket.bucket) {
|
||||
kanbanStore.setBucketById(updatedTaskBucket.bucket, false)
|
||||
}
|
||||
}
|
||||
kanbanStore.setTaskInBucket(newTask)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user