diff --git a/resources/vue/components/courseware/IndexApp.vue b/resources/vue/components/courseware/IndexApp.vue index e24b5e64912bba5ed726313aefcb60e29d2189c2..432a4a6ed5a8001e28ba4bea316f7fea5dbbd747 100755 --- a/resources/vue/components/courseware/IndexApp.vue +++ b/resources/vue/components/courseware/IndexApp.vue @@ -106,7 +106,9 @@ export default { this.structureLoadingState = 'error'; return; } - await this.loadTeacherStatus(this.userId); + if (this.context.type === 'courses') { + await this.loadTeacherStatus(this.userId); + } this.structureLoadingState = 'done'; const selectedId = this.$route.params?.id; await this.selectStructuralElement(selectedId);