diff --git a/resources/vue/components/courseware/CoursewareTreeItem.vue b/resources/vue/components/courseware/CoursewareTreeItem.vue index 4e359778a7e5b0e5664fcc459f2291cfafbd06aa..4ccecf25b68f9dc7c0caa2041ffea21db14147f0 100644 --- a/resources/vue/components/courseware/CoursewareTreeItem.vue +++ b/resources/vue/components/courseware/CoursewareTreeItem.vue @@ -109,7 +109,7 @@ export default { if (Object.keys(writeApproval).length === 0) { return false; } - return writeApproval.all || writeApproval.groups.length > 0 || writeApproval.users.length > 0; + return (writeApproval.all || writeApproval.groups.length > 0 || writeApproval.users.length > 0) && this.element.attributes['can-edit']; }, hasNoReadApproval() { if (this.context.type === 'users') {