fix(kanban): decrease task count per bucket when deleting a task
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2023-06-08 17:09:48 +02:00
parent ad27f588a2
commit 979561342a
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ export const useKanbanStore = defineStore('kanban', () => {
}
buckets.value[bucketIndex].tasks.splice(taskIndex, 1)
buckets.value[bucketIndex].count--
}
function setBucketLoading({bucketId, loading}: {bucketId: IBucket['id'], loading: boolean}) {