Handle fatal error during backup import
This commit is contained in:
parent
94dba11bcb
commit
10eeb63776
9 changed files with 146 additions and 41 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue