fix: more backup errors
All checks were successful
Deploy to Staging / Build Images (push) Successful in 2m35s
Deploy to Staging / Deploy to Staging (push) Successful in 37s
Deploy to Staging / Verify Staging (push) Successful in 6s
Deploy to Staging / Notify Staging Ready (push) Successful in 5s
Deploy to Staging / Notify Staging Failure (push) Has been skipped

This commit is contained in:
Eric Gullickson
2026-01-01 14:50:09 -06:00
parent 9043a581b1
commit aa441b185f
4 changed files with 19 additions and 8 deletions

View File

@@ -210,7 +210,7 @@ export const AdminBackupPage: React.FC = () => {
);
const handleExecuteRestore = useCallback(() => {
if (!selectedBackup) return;
if (!selectedBackup || executeRestoreMutation.isPending) return;
executeRestoreMutation.mutate(
{ id: selectedBackup.id, options: { createSafetyBackup } },
{