From 96271c339c5947ea4db5411a4b3d2971994aadaf Mon Sep 17 00:00:00 2001 From: Ron Lucke <lucke@elan-ev.de> Date: Fri, 15 Dec 2023 10:42:23 +0000 Subject: [PATCH] fix #2120 Closes #2120 Merge request studip/studip!2457 --- .../structural-element/CoursewareStructuralElement.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/vue/components/courseware/structural-element/CoursewareStructuralElement.vue b/resources/vue/components/courseware/structural-element/CoursewareStructuralElement.vue index 9c93d172cbf..354de1f1c81 100644 --- a/resources/vue/components/courseware/structural-element/CoursewareStructuralElement.vue +++ b/resources/vue/components/courseware/structural-element/CoursewareStructuralElement.vue @@ -1014,7 +1014,7 @@ export default { { id: 5, label: this.$gettext('Lesezeichen setzen'), icon: 'star', emit: 'setBookmark' }, ]; - if (this.oerEnableSuggestions) { + if (this.oerEnableSuggestions && this.inCourse && this.userId !== this.structuralElement.relationships.owner.data.id) { menu.push( { id: 6, label: this.$gettext('Seite für OER Campus vorschlagen'), icon: 'oer-campus', emit: 'showSuggest' } -- GitLab