mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-07 17:36:35 +00:00
fix media-player source selection loop (#1012)
This commit is contained in:
parent
b107e0e15c
commit
421b9abc7d
@ -266,7 +266,7 @@
|
||||
supportsPlay: (newVal.attributes.supported_features & 16384) !== 0,
|
||||
};
|
||||
if (newVal.attributes.source_list !== undefined) {
|
||||
props.sourceIndex = newVal.attributes.source_list.indexOf(this.source);
|
||||
props.sourceIndex = newVal.attributes.source_list.indexOf(props.source);
|
||||
}
|
||||
this.setProperties(props);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user