mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix duplicate_id in energy-usage-graph (#25503)
This commit is contained in:
parent
b61180baa6
commit
c94326bc08
@ -465,7 +465,7 @@ export class HuiEnergyUsageGraphCard
|
||||
}
|
||||
|
||||
data.push({
|
||||
id: compare ? "compare-" + statId : statId,
|
||||
id: `${compare ? "compare-" : ""}${statId}-${type}`,
|
||||
type: "bar",
|
||||
cursor: "default",
|
||||
name:
|
||||
|
Loading…
x
Reference in New Issue
Block a user