From 231f6401eed868ff877f4dd2854b9a3b68a95003 Mon Sep 17 00:00:00 2001 From: Juli Ovechkina Date: Thu, 17 Aug 2023 10:58:42 +0100 Subject: [PATCH] fix(FilterBlock): schema validation (#507) --- src/blocks/FilterBlock/schema.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blocks/FilterBlock/schema.ts b/src/blocks/FilterBlock/schema.ts index 434f19548..965cede14 100644 --- a/src/blocks/FilterBlock/schema.ts +++ b/src/blocks/FilterBlock/schema.ts @@ -35,7 +35,7 @@ export const FilterItemProps = { export const FilterProps = { additionalProperties: false, - required: ['filterTags', 'block'], + required: ['tags', 'items'], properties: { ...BlockBaseProps, ...AnimatableProps, @@ -59,6 +59,7 @@ export const FilterProps = { type: 'string', enum: ['s', 'm', 'l', 'xl'], }, + centered: {type: 'boolean'}, }, };