fix(frontend/kanban): honor server bucket redirect on drag (#2618)

This commit is contained in:
kolaente 2026-04-14 12:43:55 +02:00 committed by kolaente
parent c68649faf4
commit 13c4aec461
1 changed files with 1 additions and 1 deletions

View File

@ -624,10 +624,10 @@ async function updateTaskPosition(e) {
projectId: projectIdWithFallback.value,
}))
Object.assign(newTask, updatedTaskBucket.task)
newTask.bucketId = updatedTaskBucket.bucketId
if (updatedTaskBucket.bucketId !== newTask.bucketId) {
kanbanStore.moveTaskToBucket(newTask, updatedTaskBucket.bucketId)
}
newTask.bucketId = updatedTaskBucket.bucketId
if (updatedTaskBucket.bucket) {
kanbanStore.setBucketById(updatedTaskBucket.bucket, false)
}