mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 04:55:17 -05:00
Only show delete options when thread has more than one message!
This commit is contained in:
parent
798e09f011
commit
59c40ea5cc
1 changed files with 3 additions and 2 deletions
|
@ -205,6 +205,7 @@ script(type='text/ng-template', id='commentEntryTemplate')
|
|||
span.rp-comment-actions(ng-if="comment.user.isSelf && !comment.deleting")
|
||||
| •
|
||||
a(href, ng-click="startEditing(comment)") Edit
|
||||
span(ng-if="threads[entry.thread_id].messages.length > 1")
|
||||
| •
|
||||
a(href, ng-click="confirmDelete(comment)") Delete
|
||||
span.rp-confim-delete(ng-if="comment.user.isSelf && comment.deleting")
|
||||
|
|
Loading…
Reference in a new issue