From 29498b72fed147cd23b1c9a16984b9f38ef9deeb Mon Sep 17 00:00:00 2001 From: Narciso Date: Wed, 7 Oct 2026 17:10:31 -0400 Subject: [PATCH] fix(backups): avoid blocked download tab and fix file list scroll --- .../dashboard/database/backups/show-backup-files.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dokploy/components/dashboard/database/backups/show-backup-files.tsx b/apps/dokploy/components/dashboard/database/backups/show-backup-files.tsx index be8e22faa..4b286e7ed 100644 --- a/apps/dokploy/components/dashboard/database/backups/show-backup-files.tsx +++ b/apps/dokploy/components/dashboard/database/backups/show-backup-files.tsx @@ -47,7 +47,7 @@ export const ShowBackupFiles = ({ backupId }: Props) => { ); const download = api.backup.getDownloadUrl.useMutation({ - onSuccess: ({ url }) => window.open(url, "_blank", "noopener"), + onSuccess: ({ url }) => window.location.assign(url), onError: (error) => toast.error(error.message), }); @@ -92,7 +92,7 @@ export const ShowBackupFiles = ({ backupId }: Props) => { )} {!isError && !!files?.length && ( - +