mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Ignore prettier styling for tooltip of disk life time (#18097)
This commit is contained in:
parent
2030feabf7
commit
6acbf6395c
@ -110,16 +110,14 @@ class HaConfigSectionStorage extends LitElement {
|
|||||||
></ha-metric>
|
></ha-metric>
|
||||||
${this._hostInfo.disk_life_time !== "" &&
|
${this._hostInfo.disk_life_time !== "" &&
|
||||||
this._hostInfo.disk_life_time >= 10
|
this._hostInfo.disk_life_time >= 10
|
||||||
? html`
|
? // prettier-ignore
|
||||||
|
html`
|
||||||
<ha-metric
|
<ha-metric
|
||||||
.heading=${this.hass.localize(
|
.heading=${this.hass.localize(
|
||||||
"ui.panel.config.storage.emmc_lifetime_used"
|
"ui.panel.config.storage.emmc_lifetime_used"
|
||||||
)}
|
)}
|
||||||
.value=${this._hostInfo.disk_life_time}
|
.value=${this._hostInfo.disk_life_time}
|
||||||
.tooltip=${`${
|
.tooltip=${`${this._hostInfo.disk_life_time - 10}% - ${this._hostInfo.disk_life_time}%`}
|
||||||
this._hostInfo.disk_life_time - 10
|
|
||||||
} % -
|
|
||||||
${this._hostInfo.disk_life_time} %`}
|
|
||||||
class="emmc"
|
class="emmc"
|
||||||
></ha-metric>
|
></ha-metric>
|
||||||
`
|
`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user