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>
|
||||
${compare
|
||||
? html`<td
|
||||
? html`${showCosts
|
||||
? html`<td class="mdc-data-table__cell"></td>`
|
||||
: ""}
|
||||
<td
|
||||
class="mdc-data-table__cell mdc-data-table__cell--numeric"
|
||||
>
|
||||
${formatNumber(
|
||||
@ -862,10 +865,7 @@ export class HuiEnergySourcesTableCard
|
||||
currency: this.hass.config.currency!,
|
||||
}
|
||||
)}
|
||||
</td>
|
||||
${showCosts
|
||||
? html`<td class="mdc-data-table__cell"></td>`
|
||||
: ""}`
|
||||
</td>`
|
||||
: ""}
|
||||
<td class="mdc-data-table__cell"></td>
|
||||
<td
|
||||
|
Loading…
x
Reference in New Issue
Block a user