From 58570552eb007ae77e9480b87805039be2473063 Mon Sep 17 00:00:00 2001 From: 2mal3 <56305732+2mal3@users.noreply.github.com> Date: Tue, 6 Jan 2026 19:20:29 +0100 Subject: [PATCH] feat(control): put displays in loading state when shutting down --- control/frontend/src/routes/ControlView.svelte | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/control/frontend/src/routes/ControlView.svelte b/control/frontend/src/routes/ControlView.svelte index 399be56..5aaaa9e 100644 --- a/control/frontend/src/routes/ControlView.svelte +++ b/control/frontend/src/routes/ControlView.svelte @@ -79,11 +79,10 @@ async function shutdown_action() { popup_content.open = false; - await run_on_all_selected_displays((d) => shutdown(d.ip), false); // no await here because we want to be fast - // await run_on_all_selected_displays((d) => { - // shutdown(d.ip); // no await here because we want to be fast - // db.displays.update(d.id, { status: 'app_offline' }); - // }, false); + await run_on_all_selected_displays((d) => { + shutdown(d.ip); // no await here because we want to be fast + db.displays.update(d.id, { status: 'app_offline' }); + }, false); }