1
0

feat(kanban): use total task count from the api instead of manually calculating it per bucket

This fixes an ux issue where the total count would show a wrong number of total tasks because that was the number of tasks which were loaded at the time. In combination with bucket limits, this caused error messages when the user would attempt to drag tasks into a bucket which appeared not full but was.
This commit is contained in:
kolaente
2023-06-08 16:57:58 +02:00
parent c7a989d7dc
commit ad27f588a2
4 changed files with 19 additions and 3 deletions

View File

@ -10,6 +10,7 @@ export interface IBucket extends IAbstract {
tasks: ITask[]
isDoneBucket: boolean
position: number
count: number
createdBy: IUser
created: Date