mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 00:36:34 +00:00
Fix an undefined exception in more-info popup for history graph (#18404)
This commit is contained in:
parent
e8b4eeec67
commit
81053f2e07
@ -223,7 +223,7 @@ export class StateHistoryCharts extends LitElement {
|
||||
);
|
||||
} else {
|
||||
this._computedStartTime = new Date(
|
||||
this.historyData.timeline.reduce(
|
||||
(this.historyData?.timeline ?? []).reduce(
|
||||
(minTime, stateInfo) =>
|
||||
Math.min(
|
||||
minTime,
|
||||
|
Loading…
x
Reference in New Issue
Block a user