mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
fixed code style
This commit is contained in:
parent
bc03090e8a
commit
9197d358d2
@ -166,12 +166,12 @@ export default new Polymer({
|
||||
this.callService('media_next_track');
|
||||
},
|
||||
|
||||
handleSourceChanged(source) {
|
||||
handleSourceChanged(sourceInput) {
|
||||
// Selected Option will transition to '' before transitioning to new value
|
||||
if (source === '' || source === this.stateObj.attributes.source) {
|
||||
if (sourceInput === '' || sourceInput === this.stateObj.attributes.source) {
|
||||
return;
|
||||
}
|
||||
this.callService('select_source', { source: source });
|
||||
this.callService('select_source', { source: sourceInput });
|
||||
},
|
||||
|
||||
handleVolumeTap() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user