ui/fix: correct url handling for stacked graphs (#13460)
Signed-off-by: Yury Moladau <yurymolodov@gmail.com>
This commit is contained in:
parent
0fe34f8f8d
commit
a598ddfbc4
|
@ -194,7 +194,8 @@ class Panel extends Component<PanelProps, PanelState> {
|
|||
}
|
||||
|
||||
const isHeatmap = isHeatmapData(query.data);
|
||||
if (!isHeatmap) {
|
||||
const isHeatmapDisplayMode = this.props.options.displayMode === GraphDisplayMode.Heatmap;
|
||||
if (!isHeatmap && isHeatmapDisplayMode) {
|
||||
this.setOptions({ displayMode: GraphDisplayMode.Lines });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue