mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 20:36:35 +00:00
Frontend change of persistent notification - avoid long text in entity state (#470)
This commit is contained in:
parent
ed233364ec
commit
cbc447515f
@ -75,7 +75,7 @@ class HaPersistentNotificationCard extends Polymer.Element {
|
|||||||
var message = '';
|
var message = '';
|
||||||
if (scriptLoaded) {
|
if (scriptLoaded) {
|
||||||
el = this.$.pnContent;
|
el = this.$.pnContent;
|
||||||
message = window.micromarkdown.parse(stateObj.state);
|
message = window.micromarkdown.parse(stateObj.attributes.message);
|
||||||
el.innerHTML = message;
|
el.innerHTML = message;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user