Skip to content

Commit

Permalink
relax color rule validation (#67759)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 authored Jun 3, 2020
1 parent f8759d4 commit 884704d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,15 @@ const backgroundColorRulesItems = schema.object({
id: stringOptionalNullable,
background_color: stringOptionalNullable,
color: stringOptionalNullable,
operator: stringOptionalNullable,
});

const gaugeColorRulesItems = schema.object({
gauge: stringOptionalNullable,
text: stringOptionalNullable,
id: stringOptionalNullable,
operator: stringOptionalNullable,
value: schema.number(),
value: schema.maybe(schema.nullable(schema.number())),
});
const metricsItems = schema.object({
field: stringOptionalNullable,
Expand Down

0 comments on commit 884704d

Please sign in to comment.