You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert ConfirmationPage modal removal, fix navigation and data reset
Reverts the approach of delegating the success modal to ImportedMembersPage.
Instead, keeps ImportSpreadsheetConfirmModal on ImportedMembersConfirmationPage
for consistency with other import screens (categories, tags, per diem).
Fixes:
- Navigation after "Got it": moves Navigation.goBack() into
closeImportPageAndModal (the onModalHide callback is overridden by
ConfirmModalWrapper so it never fires).
- Modal reopening: calls closeImportPage() in closeImportPageAndModal to
immediately clear shouldFinalModalBeOpened before navigating, preventing
ImportedMembersPage's modal from firing during the transition.
- Data reset behind modal: freezes the displayed member list once import
starts using a ref, so the UI doesn't flash empty data when the policy
updates with the newly imported members.
Co-authored-by: Yauheni Horbach <ZhenjaHorbach@users.noreply.github.com>
0 commit comments