diff --git a/web/src/components/DialogRestart.jsx b/web/src/components/DialogRestart.jsx index ac320df3e..506e7ebce 100644 --- a/web/src/components/DialogRestart.jsx +++ b/web/src/components/DialogRestart.jsx @@ -9,8 +9,9 @@ export default function DialogRestart({ show, setShow }) { useEffect(() => { if (detectRestarted != null && Number.isInteger(detectRestarted)) { - if (!detectRestarted) + if (!detectRestarted) { setDialogTitle('Server-initiated startup'); + } setShow(false); } }, [detectRestarted]); // eslint-disable-line react-hooks/exhaustive-deps