fix(kanban): don't export buckets as readonly because that makes it impossible to update them, even from within the store
continuous-integration/drone/push Build is passing Details

This fixes a bug where the task on the kanban board would not get updated because the "tasks" property of all buckets were still read only if they were exported once as readonly. This has been unnoticed in the past because the visual representation of the board still perfectly matched what the user was doing and what was saved in the api - just not what was stored in pina.
This commit is contained in:
kolaente 2023-06-08 16:54:52 +02:00
parent 0e674d8300
commit c7a989d7dc
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ export const useKanbanStore = defineStore('kanban', () => {
}
return {
buckets: readonly(buckets),
buckets,
isLoading: readonly(isLoading),
getBucketById,