Skip to content
Snippets Groups Projects
Commit 1900a8f1 authored by Farbod Zamani's avatar Farbod Zamani Committed by Jan-Hendrik Willms
Browse files

Biest #1285

Closes #1285

Merge request studip/studip!964
parent 3bd5d835
No related branches found
No related tags found
No related merge requests found
...@@ -218,7 +218,7 @@ export default { ...@@ -218,7 +218,7 @@ export default {
return null; return null;
}, },
updateContent(blockAdder) { updateContent(blockAdder) {
if(blockAdder.container.id === this.container.id) { if(blockAdder.hasOwnProperty('container') && blockAdder.container.id === this.container.id) {
this.initCurrentData(); this.initCurrentData();
} }
} }
......
...@@ -236,7 +236,7 @@ export default { ...@@ -236,7 +236,7 @@ export default {
return null; return null;
}, },
updateContent(blockAdder) { updateContent(blockAdder) {
if(blockAdder.container.id === this.container.id) { if(blockAdder.hasOwnProperty('container') && blockAdder.container.id === this.container.id) {
this.initCurrentData(); this.initCurrentData();
} }
} }
......
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