fix: kanban-card mutatation violation #712
No reviewers
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#712
Loading…
Reference in New Issue
No description provided.
Delete Branch "dpschen/frontend:feature/fix-KanbanCard-mutation-violation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
By updating the done value directly this violates the vue pattern props down and events up and thus prevents further errors.
Instead we create a new task object and dispatch that instead.
Nice catch!