bug: Removing dependencies fails when multiple dependencies exist
Describe the bug When editing a task that has multiple dependencies, removing one or more dependencies does not persist correctly. After saving and syncing, the removed dependencies reappear when reopening the task.
This issue does not occur when the task has only a single dependency.
To Reproduce
1.Steps to reproduce the behavior: 2.Create a task with multiple dependencies (e.g. A, B, C) 3.Open the task edit dialog 4.Remove one dependency (e.g. remove B) 5.Save the task and sync
Reopen the task
Expected behavior The task’s dependencies should be exactly the updated list after saving (e.g. A, C). Removed dependencies should not reappear after sync.
Screenshots If applicable, add screenshots to help explain your problem.