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

Fixes #20615
This commit is contained in:
Torkel Ödegaard
2019-11-24 17:49:39 +01:00
committed by Marcus Efraimsson
parent cbdca6cce8
commit 6c50feb252
2 changed files with 12 additions and 2 deletions

View File

@@ -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} />

View File

@@ -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} />