mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Protect possible undefined (#83128)
Protect possible undefined
This commit is contained in:
parent
f2c0309d71
commit
16dee3cf1c
@ -59,7 +59,7 @@ export class TimelineChart extends React.Component<TimelineProps> {
|
|||||||
rowHeight: alignedFrame.fields.length > 2 ? this.props.rowHeight : 1,
|
rowHeight: alignedFrame.fields.length > 2 ? this.props.rowHeight : 1,
|
||||||
getValueColor: this.getValueColor,
|
getValueColor: this.getValueColor,
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
hoverMulti: this.props.tooltip.mode === TooltipDisplayMode.Multi,
|
hoverMulti: this.props.tooltip?.mode === TooltipDisplayMode.Multi,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user