mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 08:46:35 +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 {
|
} else {
|
||||||
this._computedStartTime = new Date(
|
this._computedStartTime = new Date(
|
||||||
this.historyData.timeline.reduce(
|
(this.historyData?.timeline ?? []).reduce(
|
||||||
(minTime, stateInfo) =>
|
(minTime, stateInfo) =>
|
||||||
Math.min(
|
Math.min(
|
||||||
minTime,
|
minTime,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user