There was an error while loading. Please reload this page.
1 parent b6d6b59 commit 7f419f3Copy full SHA for 7f419f3
2 files changed
CHANGELOG.md
@@ -10,6 +10,7 @@
10
* Disabled USB autosuspend for the CM6206 USB audio device
11
* Web App
12
* Add warning for older versions of the webapp running on newer backends
13
+ * Solve bug relating to single-zone groups
14
15
# 0.4.11
16
* System
web/src/App.jsx
@@ -245,8 +245,7 @@ const updateGroupVols = (s) => {
245
let calculated_vol = Math.min(...vols) * 0.5 + Math.max(...vols) * 0.5;
246
g.vol_f = calculated_vol;
247
} else if (g.zones.length == 1) {
248
- // ID is not defined, needs fixed
249
- g.vol_f = s.status.zones[id].vol_f;
+ g.vol_f = s.status.zones[g.zones[0]].vol_f;
250
}
251
});
252
};
0 commit comments