mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
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
Block a user