mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
fixed code style
This commit is contained in:
parent
583e8e6726
commit
916de139ef
@ -1,7 +1,7 @@
|
||||
import Polymer from '../polymer';
|
||||
import hass from '../util/home-assistant-js-instance';
|
||||
|
||||
const { moreInfoActions, serviceActions } = hass;
|
||||
const { moreInfoActions } = hass;
|
||||
|
||||
export default new Polymer({
|
||||
is: 'ha-media_player-card',
|
||||
@ -45,7 +45,7 @@ export default new Polymer({
|
||||
playerObjChanged(playerObj) {
|
||||
this.style.height = '78px';
|
||||
if (this.computeShowControls(playerObj)) {
|
||||
this.style.height = playerObj.supportsSelectInputSource ? '232px' : '175px';
|
||||
this.style.height = playerObj.supportsSelectInputSource ? '232px' : '175px';
|
||||
}
|
||||
|
||||
this.style.backgroundImage = playerObj.stateObj.attributes.entity_picture ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user