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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user