We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4185af commit 098e7e4Copy full SHA for 098e7e4
src/frontend/src/components/importer/ImporterDrawer.tsx
@@ -83,9 +83,12 @@ export default function ImporterDrawer(
83
const widget = useMemo(() => {
84
if (session.sessionQuery.isError) {
85
return (
86
- <Alert color='red' title={t`Error`} icon={<IconExclamationCircle />}>
87
- {t`Failed to fetch import session data`}
88
- </Alert>
+ <Stack gap='xs'>
+ <Alert color='red' title={t`Error`} icon={<IconExclamationCircle />}>
+ {t`Failed to fetch import session data`}
89
+ </Alert>
90
+ <Button color='red' onClick={props.onClose}>{t`Close`}</Button>
91
+ </Stack>
92
);
93
}
94
0 commit comments