diff --git a/src/components/TaskBody.vue b/src/components/TaskBody.vue
index 809f5ef6..0590d561 100644
--- a/src/components/TaskBody.vue
+++ b/src/components/TaskBody.vue
@@ -23,7 +23,7 @@ License along with this library. If not, see .
@@ -38,10 +38,10 @@ License along with this library. If not, see .
type="checkbox"
class="checkbox no-nav"
name="toggleCompleted"
- :class="{'disabled': task.calendar.readOnly}"
+ :class="{'disabled': readOnly}"
:checked="task.completed"
:aria-checked="task.completed"
- :disabled="task.calendar.readOnly"
+ :disabled="readOnly"
:aria-label="$t('tasks', 'Task is completed')"
@click="toggleCompleted(task)">
@@ -120,7 +120,7 @@ License along with this library. If not, see .