mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +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({
|
data.push({
|
||||||
id: compare ? "compare-" + statId : statId,
|
id: `${compare ? "compare-" : ""}${statId}-${type}`,
|
||||||
type: "bar",
|
type: "bar",
|
||||||
cursor: "default",
|
cursor: "default",
|
||||||
name:
|
name:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user