Handle fatal error during backup import

This commit is contained in:
trevor-signal 2024-12-05 11:35:37 -05:00 committed by GitHub
parent 94dba11bcb
commit 10eeb63776
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 146 additions and 41 deletions

View file

@ -39,6 +39,7 @@ export type OwnProps = Readonly<{
hasXButton?: boolean;
i18n: LocalizerType;
moduleClassName?: string;
noEscapeClose?: boolean;
noMouseClose?: boolean;
noDefaultCancelButton?: boolean;
onCancel?: () => unknown;
@ -80,6 +81,7 @@ export const ConfirmationDialog = React.memo(function ConfirmationDialogInner({
i18n,
isSpinning,
moduleClassName,
noEscapeClose,
noMouseClose,
noDefaultCancelButton,
onCancel,
@ -163,6 +165,7 @@ export const ConfirmationDialog = React.memo(function ConfirmationDialogInner({
<ModalHost
modalName={modalName}
noMouseClose={noMouseClose}
noEscapeClose={noEscapeClose}
onClose={close}
onEscape={cancelAndClose}
onTopOfEverything={onTopOfEverything}