peterkarn / vue-kanban-hierarchical

0 stars 0 forks source link

updateTask mutation - new task id #4

Closed zpwebbear closed 2 years ago

zpwebbear commented 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

peterkarn commented 2 years ago

Now only changed value fields update. Id still the same.