fix(teams): allow ticking team checklists

This commit is contained in:
Sabe Jones
2021-08-13 16:46:44 -05:00
committed by SabreCat
parent 029e41472f
commit 63e0875f32
2 changed files with 4 additions and 4 deletions

View File

@@ -209,7 +209,7 @@
v-if="!task.collapseChecklist"
:key="item.id"
class="custom-control custom-checkbox checklist-item"
:class="{'checklist-item-done': item.completed, 'cursor-auto': !isUser}"
:class="{'checklist-item-done': item.completed, 'cursor-auto': showTaskLockIcon}"
>
<!-- eslint-enable vue/no-use-v-if-with-v-for -->
<input
@@ -218,7 +218,7 @@
tabindex="0"
type="checkbox"
:checked="item.completed"
:disabled="castingSpell || !isUser"
:disabled="castingSpell || showTaskLockIcon"
@change="toggleChecklistItem(item)"
@keypress.enter="toggleChecklistItem(item)"
>