Closed zpwebbear closed 2 years ago
On the task update you just replace the old task with another one https://github.com/peterkarnaukhsite/vue-kanban-hierarchical/blob/05dc4f76981778966ee8f1c57c0e496f443411cd/src/store/index.js#L84
but you must just update the existed one.
One more - you still use indexes to find the task in the store but you already have IDs
Now only changed value fields update. Id still the same.
On the task update you just replace the old task with another one https://github.com/peterkarnaukhsite/vue-kanban-hierarchical/blob/05dc4f76981778966ee8f1c57c0e496f443411cd/src/store/index.js#L84
but you must just update the existed one.
One more - you still use indexes to find the task in the store but you already have IDs