From 7f419f3114ef13c4111d1fd2cd7aceb2ee077da6 Mon Sep 17 00:00:00 2001 From: SteveMicroNova Date: Fri, 7 Aug 2026 15:53:32 -0400 Subject: [PATCH] Define ID in App.jsx --- CHANGELOG.md | 1 + web/src/App.jsx | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc553efe5..4cc8bea32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ * Disabled USB autosuspend for the CM6206 USB audio device * Web App * Add warning for older versions of the webapp running on newer backends + * Solve bug relating to single-zone groups # 0.4.11 * System diff --git a/web/src/App.jsx b/web/src/App.jsx index 27a925178..90dafb3d2 100644 --- a/web/src/App.jsx +++ b/web/src/App.jsx @@ -245,8 +245,7 @@ const updateGroupVols = (s) => { let calculated_vol = Math.min(...vols) * 0.5 + Math.max(...vols) * 0.5; g.vol_f = calculated_vol; } else if (g.zones.length == 1) { - // ID is not defined, needs fixed - g.vol_f = s.status.zones[id].vol_f; + g.vol_f = s.status.zones[g.zones[0]].vol_f; } }); };