mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 02:36:37 +00:00
Fix multiline select text in zwave info (#17564)
This commit is contained in:
parent
aa85b87e11
commit
c561df70dd
@ -93,16 +93,21 @@ export class HaDeviceInfoZWaveJS extends SubscribeMixin(LitElement) {
|
|||||||
"ui.panel.config.zwave_js.device_info.zwave_info"
|
"ui.panel.config.zwave_js.device_info.zwave_info"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
<div>
|
||||||
${this._multipleConfigEntries
|
${this._multipleConfigEntries
|
||||||
? html`
|
? html`
|
||||||
<div>
|
<div>
|
||||||
${this.hass.localize("ui.panel.config.zwave_js.common.source")}:
|
${this.hass.localize(
|
||||||
|
"ui.panel.config.zwave_js.common.source"
|
||||||
|
)}:
|
||||||
${this._configEntry!.title}
|
${this._configEntry!.title}
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
: ""}
|
: nothing}
|
||||||
<div>
|
<div>
|
||||||
${this.hass.localize("ui.panel.config.zwave_js.device_info.node_id")}:
|
${this.hass.localize(
|
||||||
|
"ui.panel.config.zwave_js.device_info.node_id"
|
||||||
|
)}:
|
||||||
${this._node.node_id}
|
${this._node.node_id}
|
||||||
</div>
|
</div>
|
||||||
${!this._node.is_controller_node
|
${!this._node.is_controller_node
|
||||||
@ -156,7 +161,8 @@ export class HaDeviceInfoZWaveJS extends SubscribeMixin(LitElement) {
|
|||||||
: this.hass.localize("ui.common.no")}
|
: this.hass.localize("ui.common.no")}
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
: ""}
|
: nothing}
|
||||||
|
</div>
|
||||||
</ha-expansion-panel>
|
</ha-expansion-panel>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user