From f548ec8fe23b3ff89c4cfbfe8108233e7280cc9c Mon Sep 17 00:00:00 2001 From: cclohmar Date: Thu, 6 Aug 2026 18:56:19 +0100 Subject: [PATCH] fix: reload config after save so viewer toggle state is correct --- public/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/app.js b/public/app.js index d7b44a2..5de28c1 100644 --- a/public/app.js +++ b/public/app.js @@ -442,7 +442,8 @@ document.getElementById('btn-save').addEventListener('click', async () => { }); const j = await r.json(); if (j.success) { - // Reload cameras from the server. + // Reload config and cameras from the server. + await loadConfig(); await loadCameras(); renderLiveGrid(); renderPlaybackCameras();