mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PanelQueryRunner: only skip applyFieldOverrides when streaming (#34438)
This commit is contained in:
@@ -98,6 +98,7 @@ export class PanelQueryRunner {
|
||||
|
||||
// If the shape is the same, we can skip field overrides
|
||||
if (
|
||||
data.state === LoadingState.Streaming &&
|
||||
processFields &&
|
||||
processedCount > 0 &&
|
||||
lastData.length &&
|
||||
|
||||
@@ -73,7 +73,6 @@ export class BarGaugePanel extends PureComponent<PanelProps<BarGaugeOptions>> {
|
||||
return getFieldDisplayValues({
|
||||
fieldConfig,
|
||||
reduceOptions: options.reduceOptions,
|
||||
ensureGlobalRange: true,
|
||||
replaceVariables,
|
||||
theme: config.theme2,
|
||||
data: data.series,
|
||||
|
||||
@@ -54,7 +54,6 @@ export class GaugePanel extends PureComponent<PanelProps<GaugeOptions>> {
|
||||
const { data, options, replaceVariables, fieldConfig, timeZone } = this.props;
|
||||
return getFieldDisplayValues({
|
||||
fieldConfig,
|
||||
ensureGlobalRange: true,
|
||||
reduceOptions: options.reduceOptions,
|
||||
replaceVariables,
|
||||
theme: config.theme2,
|
||||
|
||||
@@ -85,7 +85,6 @@ export class StatPanel extends PureComponent<PanelProps<StatPanelOptions>> {
|
||||
|
||||
return getFieldDisplayValues({
|
||||
fieldConfig,
|
||||
ensureGlobalRange: true,
|
||||
reduceOptions: options.reduceOptions,
|
||||
replaceVariables,
|
||||
theme: config.theme2,
|
||||
|
||||
Reference in New Issue
Block a user