Skip to content
Snippets Groups Projects
Commit 4136554f authored by Ron Lucke's avatar Ron Lucke Committed by Elmar Ludwig
Browse files

fix #1452

Closes #1452

Merge request studip/studip!1108
parent 8daea3b8
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
if (Object.keys(writeApproval).length === 0) { if (Object.keys(writeApproval).length === 0) {
return false; 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() { hasNoReadApproval() {
const readApproval = this.element.attributes['read-approval']; const readApproval = this.element.attributes['read-approval'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment