Displaying group mute on load
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -100,7 +100,7 @@
|
||||
|
||||
// Release details
|
||||
// These are automatically injected to built HTML
|
||||
var build = "1573068920";
|
||||
var build = "1573150704";
|
||||
var version = "3.42.2";
|
||||
|
||||
// Construct the script tag
|
||||
|
||||
@ -119,8 +119,9 @@ const SnapcastGroups = (props) => {
|
||||
{ icon: 'fitness_center', words: ['gym'] },
|
||||
{ icon: 'emoji_food_beverage', words: ['kitchen'] },
|
||||
{ icon: 'deck', words: ['deck', 'outside'] },
|
||||
{ icon: 'restaurant_menu', words: ['dining'] },
|
||||
{ icon: 'restaurant_menu', words: ['dining', 'dinner'] },
|
||||
{ icon: 'laptop', words: ['laptop'] },
|
||||
{ icon: 'bug_report', words: ['test', 'debug'] },
|
||||
];
|
||||
const name = group.name.toLowerCase();
|
||||
for (let item of iconWords) {
|
||||
|
||||
@ -879,8 +879,8 @@ export const formatGroup = function (data) {
|
||||
}
|
||||
}
|
||||
|
||||
if (group.mute === undefined && data.mute !== undefined) {
|
||||
group.mute = data.mute;
|
||||
if (group.mute === undefined && data.muted !== undefined) {
|
||||
group.mute = data.muted;
|
||||
}
|
||||
|
||||
return group;
|
||||
|
||||
Reference in New Issue
Block a user