From 4adc93b7045acad5dc3fada4fb50074cf5c95483 Mon Sep 17 00:00:00 2001 From: Artkrygin <80037398+Artkrygin@users.noreply.github.com> Date: Tue, 12 Oct 2021 12:33:25 +0300 Subject: [PATCH] GH-38 [ADD] Data filter --- src/controls/AntdImageControl.tsx | 2 +- stories/FormWithColumns.stories.tsx | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/controls/AntdImageControl.tsx b/src/controls/AntdImageControl.tsx index 07de9a1..1a2c531 100644 --- a/src/controls/AntdImageControl.tsx +++ b/src/controls/AntdImageControl.tsx @@ -5,7 +5,7 @@ import { withStoreToControlProps } from '../util/ContextToProps'; export const AntdImageControl = (props: any): JSX.Element => { const { uiOptions, data } = props; - return ; + return ; }; export const antdImageControlTester: RankedTester = rankWith(3, uiTypeIs('aldkg:Image')); diff --git a/stories/FormWithColumns.stories.tsx b/stories/FormWithColumns.stories.tsx index 0fb948e..5d14a33 100644 --- a/stories/FormWithColumns.stories.tsx +++ b/stories/FormWithColumns.stories.tsx @@ -80,6 +80,10 @@ const viewKinds = [ '@type': 'aldkg:EntConstr', schema: 'hs:ProductCardShape', service: mktpSchemaRepoIri, + conditions: { + '@id': 'mktp:Cards_Coll_Ent0_con', + identifier: 'https://huntersales.ru/catalog/products/18279449', + }, }, ], //orderBy: [{ expression: variable('identifier0'), descending: false }],