fix: don't allow marking a task as done in a read-only list

This commit is contained in:
kolaente 2022-07-19 18:37:11 +02:00
parent dac9d918b5
commit 175fb02629
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -94,6 +94,7 @@
<single-task-in-list
:show-list-color="false"
:disabled="!canWrite"
:can-mark-as-done="canWrite || (list.isSavedFilter && list.isSavedFilter())"
:the-task="t"
@taskUpdated="updateTasks"
>