mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #1664 from sharelatex/as-fix-read-only-comment
Only show add comment button if user has permission GitOrigin-RevId: e2de9ec435eff45d575a368f07ff40416ed43f1f
This commit is contained in:
parent
ab6565beb8
commit
5d6a307234
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
| ({{ reviewPanel.nVisibleSelectedChanges }})
|
||||
a.rp-add-comment-btn(
|
||||
href
|
||||
ng-if="reviewPanel.entries[editor.open_doc_id]['add-comment'] != null"
|
||||
ng-if="reviewPanel.entries[editor.open_doc_id]['add-comment'] != null && permissions.comment"
|
||||
ng-click="addNewComment();"
|
||||
)
|
||||
i.fa.fa-comment
|
||||
|
|
Loading…
Reference in a new issue