diff --git a/web/src/components/DialogRestart.jsx b/web/src/components/DialogRestart.jsx index 506e7ebce..0561cca51 100644 --- a/web/src/components/DialogRestart.jsx +++ b/web/src/components/DialogRestart.jsx @@ -23,8 +23,9 @@ export default function DialogRestart({ show, setShow }) { while (true) { try { const response = await fetch('/api/config', { method: 'GET' }); - if (await response.status === 200) + if (await response.status === 200) { window.location.reload(); + } } catch (e) {} await delay(987);