fix: don't allow marking a task as done in a read-only list
This commit is contained in:
parent
dac9d918b5
commit
175fb02629
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@
|
||||||
<single-task-in-list
|
<single-task-in-list
|
||||||
:show-list-color="false"
|
:show-list-color="false"
|
||||||
:disabled="!canWrite"
|
:disabled="!canWrite"
|
||||||
|
:can-mark-as-done="canWrite || (list.isSavedFilter && list.isSavedFilter())"
|
||||||
:the-task="t"
|
:the-task="t"
|
||||||
@taskUpdated="updateTasks"
|
@taskUpdated="updateTasks"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue