Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions web/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
});
};
Expand Down
Loading