fix(kanban): decrease task count per bucket when deleting a task
This commit is contained in:
parent
ad27f588a2
commit
979561342a
@ -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}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user