TimeSeriesPanel: Fixed default value for gradientMode (#30484)

This commit is contained in:
Torkel Ödegaard
2021-01-21 12:51:12 +01:00
committed by GitHub
parent 1c6897776a
commit 59ef36812e
@@ -89,7 +89,7 @@ export function getGraphFieldConfig(cfg: GraphFieldConfig): SetFieldConfigOption
.addRadio({
path: 'gradientMode',
name: 'Gradient mode',
defaultValue: graphFieldOptions.fillGradient[0],
defaultValue: graphFieldOptions.fillGradient[0].value,
settings: {
options: graphFieldOptions.fillGradient,
},