Polish settings and admin system pages
This commit is contained in:
@@ -28,8 +28,8 @@ export default function BackupCard() {
|
||||
link.remove();
|
||||
window.setTimeout(() => URL.revokeObjectURL(url), 5000);
|
||||
toast(t("backupDownloaded"), "success");
|
||||
} catch {
|
||||
toast(t("backupFailed"), "error");
|
||||
} catch (error: any) {
|
||||
toast(getApiErrorMessage(error, t("backupFailed")), "error");
|
||||
} finally {
|
||||
setDownloading(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user