mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix missing tooltips in energy-usage-graph (#19031)
This commit is contained in:
parent
5b9d46e350
commit
62d8cdfcf9
@ -662,7 +662,9 @@ export class HuiEnergyUsageGraphCard
|
||||
});
|
||||
});
|
||||
|
||||
const uniqueKeys = Array.from(new Set(allKeys));
|
||||
const uniqueKeys = Array.from(new Set(allKeys)).sort(
|
||||
(a, b) => Number(a) - Number(b)
|
||||
);
|
||||
|
||||
Object.entries(combinedData).forEach(([type, sources]) => {
|
||||
Object.entries(sources).forEach(([statId, source], idx) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user