Skip to content
Snippets Groups Projects
Commit c85b9bc9 authored by Ron Lucke's avatar Ron Lucke Committed by Marcus Eibrink-Lunzenauer
Browse files

fix #829

parent ef3e22fe
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,9 @@ export default { ...@@ -106,7 +106,9 @@ export default {
this.structureLoadingState = 'error'; this.structureLoadingState = 'error';
return; return;
} }
await this.loadTeacherStatus(this.userId); if (this.context.type === 'courses') {
await this.loadTeacherStatus(this.userId);
}
this.structureLoadingState = 'done'; this.structureLoadingState = 'done';
const selectedId = this.$route.params?.id; const selectedId = this.$route.params?.id;
await this.selectStructuralElement(selectedId); await this.selectStructuralElement(selectedId);
......
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