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 {
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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment