Handle backup creation on same domain as server (#592)

In case the webUI is hosted by the server the backup creation caused the app to navigate to the backup url which resulted in an empty page

Regression introduced with db5d3ff7c0
This commit is contained in:
schroda
2024-02-12 21:45:33 +01:00
committed by GitHub
parent 7caea4e526
commit 5017ba9932

View File

@@ -227,7 +227,7 @@ export function Backup() {
return (
<>
<List sx={{ padding: 0 }}>
<ListItemLink to={requestManager.getExportBackupUrl()}>
<ListItemLink to={requestManager.getExportBackupUrl()} download target="_self">
<ListItemText
primary={t('settings.backup.action.create.label.title')}
secondary={t('settings.backup.action.create.label.description')}