Fix duplicate_id in energy-usage-graph (#25503)

This commit is contained in:
karwosts 2025-05-17 22:53:37 -07:00 committed by GitHub
parent b61180baa6
commit c94326bc08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -465,7 +465,7 @@ export class HuiEnergyUsageGraphCard
}
data.push({
id: compare ? "compare-" + statId : statId,
id: `${compare ? "compare-" : ""}${statId}-${type}`,
type: "bar",
cursor: "default",
name: