Skip to content

Commit e8866f2

Browse files
Apply suggestions from code review
Co-authored-by: Bram Kragten <[email protected]>
1 parent 9e65409 commit e8866f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/panels/lovelace/cards/energy/hui-energy-devices-graph-card.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ export class HuiEnergyDevicesGraphCard
9797
<div class="card-header">
9898
<span>${this._config.title ? this._config.title : nothing}</span>
9999
<ha-icon-button
100-
path=${this._chartType === "pie" ? mdiChartBar : mdiChartDonut}
101-
label=${this.hass.localize(
100+
.path=${this._chartType === "pie" ? mdiChartBar : mdiChartDonut}
101+
.label=${this.hass.localize(
102102
"ui.panel.lovelace.cards.energy.energy_devices_graph.change_chart_type"
103103
)}
104104
@click=${this._handleChartTypeChange}

0 commit comments

Comments
 (0)