diff --git a/resources/vue/components/courseware/CoursewareCourseManager.vue b/resources/vue/components/courseware/CoursewareCourseManager.vue index e039ca59d3a1d64578d1c0b7d120b8e5e0a6bcf9..0faf537f6e523e9472391086e8da79c2c12f4956 100755 --- a/resources/vue/components/courseware/CoursewareCourseManager.vue +++ b/resources/vue/components/courseware/CoursewareCourseManager.vue @@ -234,8 +234,8 @@ export default { await this.loadStructuralElement(this.currentId); this.initCurrent(); }, - async initCurrent() { - this.currentElement = await this.structuralElementById({ id: this.currentId }); + initCurrent() { + this.currentElement = _.cloneDeep(this.structuralElementById({ id: this.currentId })); }, async setSelfId(target) { this.selfId = target; @@ -243,7 +243,7 @@ export default { this.initSelf(); }, initSelf() { - this.selfElement = this.structuralElementById({ id: this.selfId }); + this.selfElement = _.cloneDeep(this.structuralElementById({ id: this.selfId })); }, async doExportCourseware() {