From 83ed6516f112b6b29fa8b7d774a430feff1bbb20 Mon Sep 17 00:00:00 2001 From: cclohmar Date: Thu, 6 Aug 2026 18:02:09 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20exclude=20auth=20card=20from=20camera=20?= =?UTF-8?q?save=20=E2=80=94=20selector=20scoped=20to=20[data-id]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app.js b/public/app.js index 8893b12..478f4de 100644 --- a/public/app.js +++ b/public/app.js @@ -392,8 +392,8 @@ document.getElementById('btn-scan').addEventListener('click', runWizard); // ── Settings: Save ── document.getElementById('btn-save').addEventListener('click', async () => { const status = document.getElementById('settings-status'); - // Collect camera data from DOM. - const cards = document.querySelectorAll('.camera-card'); + // Collect camera data from DOM (skip the auth card). + const cards = document.querySelectorAll('.camera-card[data-id]'); const updatedCameras = []; cards.forEach(card => { const c = {};