mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26: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>
|
||||
${this._hostInfo.disk_life_time !== "" &&
|
||||
this._hostInfo.disk_life_time >= 10
|
||||
? html`
|
||||
? // prettier-ignore
|
||||
html`
|
||||
<ha-metric
|
||||
.heading=${this.hass.localize(
|
||||
"ui.panel.config.storage.emmc_lifetime_used"
|
||||
)}
|
||||
.value=${this._hostInfo.disk_life_time}
|
||||
.tooltip=${`${
|
||||
this._hostInfo.disk_life_time - 10
|
||||
} % -
|
||||
${this._hostInfo.disk_life_time} %`}
|
||||
.tooltip=${`${this._hostInfo.disk_life_time - 10}% - ${this._hostInfo.disk_life_time}%`}
|
||||
class="emmc"
|
||||
></ha-metric>
|
||||
`
|
||||
|
Loading…
x
Reference in New Issue
Block a user