mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #13951 from overleaf/td-review-panel-dismiss-bulk-actions
Review panel: make "Reject all" and "Accept all" buttons disappear after use GitOrigin-RevId: 99534b65ec812fb0e6efd443ca126e71a0a09ae5
This commit is contained in:
parent
0d3af56efa
commit
a88589b7b7
1 changed files with 6 additions and 0 deletions
|
@ -316,12 +316,18 @@ export const createChangeManager = (
|
|||
acceptChanges(payload)
|
||||
view.dispatch(buildChangeMarkers())
|
||||
broadcastChange()
|
||||
// Dispatch a focus:changed event to force the Angular controller to
|
||||
// reassemble the list of entries without bulk actions
|
||||
dispatchFocusChangedEvent(view.state)
|
||||
break
|
||||
}
|
||||
|
||||
case 'changes:reject': {
|
||||
view.dispatch(rejectChanges(payload))
|
||||
broadcastChange()
|
||||
// Dispatch a focus:changed event to force the Angular controller to
|
||||
// reassemble the list of entries without bulk actions
|
||||
dispatchFocusChangedEvent(view.state)
|
||||
break
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue