BarGauge/Gauge: Add back missing title option field display options (#20616)

Fixes #20615
(cherry picked from commit 6c50feb252)
This commit is contained in:
Torkel Ödegaard
2019-11-25 12:01:36 +01:00
committed by Marcus Efraimsson
parent 3858c3bc18
commit 210a0beca8
2 changed files with 12 additions and 2 deletions
@@ -97,7 +97,12 @@ export class BarGaugePanelEditor extends PureComponent<PanelEditorProps<BarGauge
</div>
</PanelOptionsGroup>
<PanelOptionsGroup title="Field">
<FieldPropertiesEditor showMinMax={true} onChange={this.onDefaultsChange} value={defaults} />
<FieldPropertiesEditor
showMinMax={true}
showTitle={true}
onChange={this.onDefaultsChange}
value={defaults}
/>
</PanelOptionsGroup>
<ThresholdsEditor onChange={this.onThresholdsChanged} thresholds={defaults.thresholds} />
@@ -114,7 +114,12 @@ export class GaugePanelEditor extends PureComponent<PanelEditorProps<GaugeOption
</PanelOptionsGroup>
<PanelOptionsGroup title="Field">
<FieldPropertiesEditor showMinMax={true} onChange={this.onDefaultsChange} value={defaults} />
<FieldPropertiesEditor
showMinMax={true}
showTitle={true}
onChange={this.onDefaultsChange}
value={defaults}
/>
</PanelOptionsGroup>
<ThresholdsEditor onChange={this.onThresholdsChanged} thresholds={defaults.thresholds} />