mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Hide resolved comments from the review panel.
This commit is contained in:
parent
35bdb4383a
commit
1a100b77df
2 changed files with 2 additions and 3 deletions
|
@ -32,7 +32,7 @@
|
|||
on-indicator-click="toggleReviewPanel();"
|
||||
)
|
||||
|
||||
div(ng-if="entry.type === 'comment'")
|
||||
div(ng-if="entry.type === 'comment' && !(reviewPanel.commentThreads[entry.thread_id].resolved === true)")
|
||||
comment-entry(
|
||||
entry="entry"
|
||||
threads="reviewPanel.commentThreads"
|
||||
|
@ -73,7 +73,7 @@
|
|||
ng-click="gotoEntry(doc_id, entry)"
|
||||
)
|
||||
|
||||
div(ng-if="entry.type === 'comment'")
|
||||
div(ng-if="entry.type === 'comment' && !(reviewPanel.commentThreads[entry.thread_id].resolved === true)")
|
||||
comment-entry(
|
||||
entry="entry"
|
||||
threads="reviewPanel.commentThreads"
|
||||
|
|
|
@ -18,7 +18,6 @@ define [
|
|||
scope.toggleOpenState = () ->
|
||||
scope.state.isOpen = !scope.state.isOpen
|
||||
if (scope.state.isOpen)
|
||||
console.log('will call stuff')
|
||||
scope.onOpen()
|
||||
|
||||
scope.resolvedCommentsPerFile = {}
|
||||
|
|
Loading…
Reference in a new issue