1
0

fix(task): do not allow moving a task to the project the task already belongs to

(cherry picked from commit 7efc4d1bc890b4a12ee30274eaeb6062f4e49510)
This commit is contained in:
kolaente
2024-08-12 15:18:00 +02:00
parent 53605c24f0
commit 715269a5d0
3 changed files with 8 additions and 3 deletions

View File

@ -381,6 +381,7 @@
<div class="control is-expanded">
<ProjectSearch
:ref="e => setFieldRef('moveProject', e)"
:filter="project => project.id !== task.projectId"
@update:modelValue="changeProject"
/>
</div>