[v10.4.x] Alerting: Protect possible undefined (#83186)
Alerting: Protect possible undefined (#83128)
Protect possible undefined
(cherry picked from commit 16dee3cf1c)
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com>
This commit is contained in:
co-authored by
Sonia Aguilar
parent
2fbc070fd1
commit
fedf3e2e6e
@@ -59,7 +59,7 @@ export class TimelineChart extends React.Component<TimelineProps> {
|
||||
rowHeight: alignedFrame.fields.length > 2 ? this.props.rowHeight : 1,
|
||||
getValueColor: this.getValueColor,
|
||||
// @ts-ignore
|
||||
hoverMulti: this.props.tooltip.mode === TooltipDisplayMode.Multi,
|
||||
hoverMulti: this.props.tooltip?.mode === TooltipDisplayMode.Multi,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user