Skip to content

Commit 4bd0d3b

Browse files
authored
[TSVB] Request validation error: [panels.0.series.0.metrics.0.percentiles.1.value] (#79009)
Closes: #79006
1 parent ad134b2 commit 4bd0d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/vis_type_timeseries/common/vis_schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const metricsItems = schema.object({
111111
field: stringOptionalNullable,
112112
mode: schema.oneOf([schema.literal('line'), schema.literal('band')]),
113113
shade: schema.oneOf([numberOptional, stringOptionalNullable]),
114-
value: schema.oneOf([numberOptional, stringOptionalNullable]),
114+
value: schema.maybe(schema.oneOf([numberOptional, stringOptionalNullable])),
115115
percentile: stringOptionalNullable,
116116
})
117117
)

0 commit comments

Comments
 (0)