Skip to content

Commit

Permalink
chore: slightly better backup restore UX
Browse files Browse the repository at this point in the history
  • Loading branch information
zunderscore committed Dec 28, 2024
1 parent 859c5b3 commit 0cc121d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gui/app/directives/modals/backups/restoreBackupModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@

if (restoreResult.success) {
$ctrl.restoreComplete = true;
$ctrl.restoreHasError = false;
$ctrl.errorMessage = undefined;
} else {
$ctrl.restoreHasError = true;
$ctrl.errorMessage = restoreResult.reason;
Expand All @@ -91,8 +93,8 @@
$ctrl.restoreHasError = true;
$ctrl.errorMessage = "Restore is taking longer than it should. There is likely an issue. You can close and try again. If you continue having issues, please reach out on Discord or Bluesky. We are happy to help!";
}
}, 30 * 1000);
}, 60 * 1000);
};
}
});
}());
}());

0 comments on commit 0cc121d

Please sign in to comment.