mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Remove comment from dropdown when it is reopened
This commit is contained in:
parent
dec9b5bf1e
commit
e15d01874d
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ define [
|
||||||
|
|
||||||
scope.handleUnresolve = (threadId) ->
|
scope.handleUnresolve = (threadId) ->
|
||||||
scope.onUnresolve({ threadId })
|
scope.onUnresolve({ threadId })
|
||||||
|
scope.resolvedComments = scope.resolvedComments.filter (c) -> c.threadId != threadId
|
||||||
|
|
||||||
scope.handleDelete = (entryId, threadId) ->
|
scope.handleDelete = (entryId, threadId) ->
|
||||||
scope.onDelete({ entryId, threadId })
|
scope.onDelete({ entryId, threadId })
|
||||||
|
|
Loading…
Reference in a new issue