diff options
| author | Ron Lucke <lucke@elan-ev.de> | 2022-02-04 10:48:39 +0000 |
|---|---|---|
| committer | Ron Lucke <lucke@elan-ev.de> | 2022-02-04 10:48:39 +0000 |
| commit | cdb090bdd661670055ccac451bc7fcf313a2a026 (patch) | |
| tree | bf4a2d18032c3f9d6d4fe391898355b7b7954093 | |
| parent | c95689d90e445779428a4bae188270e390d8a5a1 (diff) | |
fix #641
| -rwxr-xr-x | resources/vue/components/courseware/CoursewareBlockAdderArea.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/vue/components/courseware/CoursewareBlockAdderArea.vue b/resources/vue/components/courseware/CoursewareBlockAdderArea.vue index f3d770f..f2fdc86 100755 --- a/resources/vue/components/courseware/CoursewareBlockAdderArea.vue +++ b/resources/vue/components/courseware/CoursewareBlockAdderArea.vue @@ -51,7 +51,7 @@ export default { this.adderActive = false; this.$emit('updateContainerContent', oldValue); } else { - if (newValue.container.id === this.container.id && newValue.section === this.section) { + if (newValue.container && newValue.container.id === this.container.id && newValue.section === this.section) { this.adderActive = true; } else { this.adderActive = false; |
