forked from home-assistant/core
Upgraded home-assistant-js in frontend
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
||||||
VERSION = "14fb39cdbc1c103611d2c3d81558737d"
|
VERSION = "84205c070e3e5992ace85220c4cd3da6"
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -51,6 +51,8 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
stateAttributesChanged: function(oldVal, newVal) {
|
stateAttributesChanged: function(oldVal, newVal) {
|
||||||
|
if (!newVal) return;
|
||||||
|
|
||||||
this.classNames = Object.keys(newVal).map(
|
this.classNames = Object.keys(newVal).map(
|
||||||
function(key) { return "has-" + key; }).join(' ');
|
function(key) { return "has-" + key; }).join(' ');
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user