Compare commits

..

1 Commits

Author SHA1 Message Date
Adam Shiervani bacd6484a6
Merge 466ce32ec7 into 1d1e58f036 2025-11-02 14:29:25 +01:00
3 changed files with 0 additions and 6 deletions

View File

@ -313,8 +313,6 @@ export default function SettingsAdvancedRoute() {
text={m.advanced_reset_config_button()}
onClick={() => {
handleResetConfig();
// Add 2s delay between resetting the configuration and calling reload() to prevent reload from interrupting the RPC call to reset things.
await sleep(2000);
window.location.reload();
}}
/>

View File

@ -11,8 +11,6 @@ export default function SettingsGeneralRebootRoute() {
const onClose = useCallback(() => {
navigate(".."); // back to the devices.$id.settings page
// Add 1s delay between navigation and calling reload() to prevent reload from interrupting the navigation.
await sleep(1000);
window.location.reload(); // force a full reload to ensure the current device/cloud UI version is loaded
}, [navigate]);

View File

@ -23,8 +23,6 @@ export default function SettingsGeneralUpdateRoute() {
const onClose = useCallback(() => {
navigate(".."); // back to the devices.$id.settings page
// Add 1s delay between navigation and calling reload() to prevent reload from interrupting the navigation.
await sleep(1000);
window.location.reload(); // force a full reload to ensure the current device/cloud UI version is loaded
}, [navigate]);