mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 14:07:55 +00:00
Change Title to Name (#2129)
This commit is contained in:
parent
8757dbb664
commit
f04f58ac88
@ -209,8 +209,8 @@ class HuiAlarmPanelCard extends LocalizeMixin(EventsMixin(PolymerElement)) {
|
|||||||
|
|
||||||
_computeHeader(localize, stateObj) {
|
_computeHeader(localize, stateObj) {
|
||||||
if (!stateObj) return "";
|
if (!stateObj) return "";
|
||||||
return this._config.title
|
return this._config.name
|
||||||
? this._config.title
|
? this._config.name
|
||||||
: this._label(localize, stateObj.state);
|
: this._label(localize, stateObj.state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user