Remove comment from dropdown when it is reopened

This commit is contained in:
James Allen 2017-01-17 15:13:50 +01:00
parent dec9b5bf1e
commit e15d01874d

View file

@ -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 })