Skip to content

Commit

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

const gaugeColorRulesItems = Joi.object({
gauge: stringOptionalNullable,
text: stringOptionalNullable,
id: stringOptionalNullable,
operator: stringOptionalNullable,
value: Joi.number(),
value: numberOptional.allow(null),
});
const metricsItems = Joi.object({
field: stringOptionalNullable,
Expand Down

0 comments on commit ff5830d

Please sign in to comment.