Fix bug on snapshot detail page

This commit is contained in:
Ramon Wenger 2023-10-17 13:32:40 +02:00
parent b700931a8b
commit 3cb566c599
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
<objective
:objective="objective"
class="objective-group__objective"
:edit-mode="group.module.inEditMode"
:edit-mode="editMode"
v-for="objective in group.objectives"
:key="objective.id"
/>
@ -63,7 +63,7 @@ export default {
computed: {
editMode() {
return this.group.module.inEditMode;
return this.group.module?.inEditMode || false;
},
hidden() {
return hidden({