Skip to content

Commit b1d8125

Browse files
authored
Fix threshold in generic.ts.threshold (#1103)
Using with*Mixin ensures that other unrelayed overrides are not deleted.
1 parent a764783 commit b1d8125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common-lib/common/panels/generic/timeSeries/threshold.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ local fieldConfig = g.panel.timeSeries.fieldConfig;
1818
+ timeSeries.standardOptions.color.withMode('fixed')
1919
+ timeSeries.standardOptions.color.withFixedColor('light-orange'),
2020
stylizeByRegexp(regexp):
21-
timeSeries.standardOptions.withOverrides(
21+
timeSeries.standardOptions.withOverridesMixin(
2222
fieldOverride.byRegexp.new(regexp)
2323
+ fieldOverride.byRegexp.withPropertiesFromOptions(this.stylize())
2424
),

0 commit comments

Comments
 (0)