Skip to content
Snippets Groups Projects
Commit bbedd741 authored by Marcus Eibrink-Lunzenauer's avatar Marcus Eibrink-Lunzenauer
Browse files

Prevent loading of feedback before block is stored.

Closes #5051

Merge request studip/studip!3779
parent 061f8168
No related branches found
No related tags found
No related merge requests found
......@@ -205,7 +205,7 @@ export default {
if (!this.public && this.userProgress && this.userProgress.attributes.grade === 0 && this.defaultGrade) {
this.userProgress = 1;
}
if (this.canEdit) {
if (this.block.id && this.canEdit) {
this.loadFeedback(this.block.id);
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment