From 694feb05053a633529abb463abc56d33f9e6e2f9 Mon Sep 17 00:00:00 2001 From: seo Date: Sat, 4 Jul 2026 06:20:23 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=B0=ED=84=B0=EB=A6=AC=20=EC=84=BC?= =?UTF-8?q?=EC=84=9C=20=EC=84=B9=EC=85=98=20=ED=86=B5=ED=95=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/main.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/js/main.js b/js/main.js index fb7a673..04bd808 100644 --- a/js/main.js +++ b/js/main.js @@ -632,7 +632,7 @@ function ensureFindMyDeviceShell() {
-
+
@@ -1163,12 +1163,15 @@ function updateSensorSections(sections) { const entries = Object.entries(rows || {}).filter(([, value]) => normalizeDisplayValue(value)); if (!entries.length) return; - activeSectionIds.add(sectionKey); - const section = ensureSensorSection(sectionKey); + const isBatterySection = sectionKey === 'battery'; + const section = isBatterySection ? document.getElementById('batterySection') : ensureSensorSection(sectionKey); if (!section) return; - const title = document.getElementById(`sensorTitleText_${sectionKey}`); - if (title) title.textContent = t[sectionKey] || sectionKey; + if (!isBatterySection) { + activeSectionIds.add(sectionKey); + const title = document.getElementById(`sensorTitleText_${sectionKey}`); + if (title) title.textContent = t[sectionKey] || sectionKey; + } entries.forEach(([key, value]) => { activeRowIds.add(`sensor_${sectionKey}_${key}`);