fix(kanban): decrease task count per bucket when deleting a task
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
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}) {
|
||||
|
Reference in New Issue
Block a user