mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
Energy Dashboard: Align total cost with 'previous cost' column. (#12883)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
e386942ea7
commit
578ff5b53f
@ -851,7 +851,10 @@ export class HuiEnergySourcesTableCard
|
|||||||
)}
|
)}
|
||||||
</th>
|
</th>
|
||||||
${compare
|
${compare
|
||||||
? html`<td
|
? html`${showCosts
|
||||||
|
? html`<td class="mdc-data-table__cell"></td>`
|
||||||
|
: ""}
|
||||||
|
<td
|
||||||
class="mdc-data-table__cell mdc-data-table__cell--numeric"
|
class="mdc-data-table__cell mdc-data-table__cell--numeric"
|
||||||
>
|
>
|
||||||
${formatNumber(
|
${formatNumber(
|
||||||
@ -862,10 +865,7 @@ export class HuiEnergySourcesTableCard
|
|||||||
currency: this.hass.config.currency!,
|
currency: this.hass.config.currency!,
|
||||||
}
|
}
|
||||||
)}
|
)}
|
||||||
</td>
|
</td>`
|
||||||
${showCosts
|
|
||||||
? html`<td class="mdc-data-table__cell"></td>`
|
|
||||||
: ""}`
|
|
||||||
: ""}
|
: ""}
|
||||||
<td class="mdc-data-table__cell"></td>
|
<td class="mdc-data-table__cell"></td>
|
||||||
<td
|
<td
|
||||||
|
Loading…
x
Reference in New Issue
Block a user