disabling checking off a subtask if not assigned to a user (#10357)

This commit is contained in:
Brian Fenton
2018-05-13 09:12:26 -05:00
committed by Matteo Pagliazzi
parent 38d78de4b3
commit 355f0fedfb

View File

@@ -64,7 +64,7 @@
type="checkbox", type="checkbox",
:checked="item.completed", :checked="item.completed",
@change="toggleChecklistItem(item)", @change="toggleChecklistItem(item)",
:disabled="castingSpell", :disabled="castingSpell || !isUser",
:id="`checklist-${item.id}`" :id="`checklist-${item.id}`"
) )
label.custom-control-label(v-markdown="item.text", :for="`checklist-${item.id}`") label.custom-control-label(v-markdown="item.text", :for="`checklist-${item.id}`")