mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
Fix const declaration
This commit is contained in:
parent
ec7dfb28e8
commit
e63bcc1567
@ -47,7 +47,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
getAttributeValue: function (stateObj, attribute) {
|
getAttributeValue: function (stateObj, attribute) {
|
||||||
const value = stateObj.attributes[attribute];
|
var value = stateObj.attributes[attribute];
|
||||||
|
|
||||||
return Array.isArray(value) ? value.join(', ') : value;
|
return Array.isArray(value) ? value.join(', ') : value;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user