fix(ui/dygraph): add guard for dygraph (#12828)
parent
d75aaaf90b
commit
845eb38253
|
@ -165,7 +165,7 @@ class Dygraph extends Component<Props, State> {
|
|||
{legendData && (
|
||||
<Legend {...legendData} seriesDescriptions={seriesDescriptions} />
|
||||
)}
|
||||
{!!hoverTime && (
|
||||
{!!hoverTime && !!this.dygraph && (
|
||||
<HoverTimeMarker x={this.dygraph.toDomXCoord(hoverTime)} />
|
||||
)}
|
||||
{this.nestedGraph}
|
||||
|
|
Loading…
Reference in New Issue