mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #16453 from overleaf/ii-review-panel-dismiss-bulk-actions
[web] Fix bulk actions in review panel GitOrigin-RevId: c78c99b0a3b005a0a4490ce393eb5d540f23ebc2
This commit is contained in:
parent
4a7a24b44d
commit
f67e19f6d2
1 changed files with 4 additions and 1 deletions
|
@ -376,7 +376,10 @@ export const createChangeManager = (
|
|||
broadcastChange()
|
||||
// Dispatch a focus:changed event to force the Angular controller to
|
||||
// reassemble the list of entries without bulk actions
|
||||
scheduleDispatchFocusChanged(view.state, 'rejectChanges')
|
||||
setTimeout(() => {
|
||||
// Delay the execution to make sure it runs after `broadcastChange`
|
||||
scheduleDispatchFocusChanged(view.state, 'rejectChanges')
|
||||
}, 30)
|
||||
break
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue