Skip to content
Snippets Groups Projects
Commit 12bc4185 authored by Ron Lucke's avatar Ron Lucke Committed by Elmar Ludwig
Browse files

fix #309

parent 76e978f3
No related branches found
No related tags found
No related merge requests found
...@@ -234,8 +234,8 @@ export default { ...@@ -234,8 +234,8 @@ export default {
await this.loadStructuralElement(this.currentId); await this.loadStructuralElement(this.currentId);
this.initCurrent(); this.initCurrent();
}, },
async initCurrent() { initCurrent() {
this.currentElement = await this.structuralElementById({ id: this.currentId }); this.currentElement = _.cloneDeep(this.structuralElementById({ id: this.currentId }));
}, },
async setSelfId(target) { async setSelfId(target) {
this.selfId = target; this.selfId = target;
...@@ -243,7 +243,7 @@ export default { ...@@ -243,7 +243,7 @@ export default {
this.initSelf(); this.initSelf();
}, },
initSelf() { initSelf() {
this.selfElement = this.structuralElementById({ id: this.selfId }); this.selfElement = _.cloneDeep(this.structuralElementById({ id: this.selfId }));
}, },
async doExportCourseware() { async doExportCourseware() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment