From 36501a7131850ff9fba1caa6c43b11de57fd3f64 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Fri, 10 Jan 2020 16:42:29 +0100 Subject: [PATCH] Update stories --- .../__snapshots__/Stories.test.ts.snap | 45 +++++++++++++++++-- .../WebhookListPage.stories.tsx | 10 ++++- 2 files changed, 51 insertions(+), 4 deletions(-) diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index 6583d0ca9..4cfd36ed6 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -127604,8 +127604,21 @@ exports[`Storyshots Views / Webhooks / Webhook list default 1`] = `
+
+ +
@@ -128024,8 +128037,21 @@ exports[`Storyshots Views / Webhooks / Webhook list loading 1`] = `
+
+ +
@@ -128393,8 +128419,21 @@ exports[`Storyshots Views / Webhooks / Webhook list no data 1`] = `
+
+ +
diff --git a/src/webhooks/components/WebhooksListPage/WebhookListPage.stories.tsx b/src/webhooks/components/WebhooksListPage/WebhookListPage.stories.tsx index 4c9314949..077ed6ddf 100644 --- a/src/webhooks/components/WebhooksListPage/WebhookListPage.stories.tsx +++ b/src/webhooks/components/WebhooksListPage/WebhookListPage.stories.tsx @@ -6,7 +6,8 @@ import { pageListProps, searchPageProps, tabPageProps, - sortPageProps + sortPageProps, + filterPageProps } from "@saleor/fixtures"; import Decorator from "@saleor/storybook/Decorator"; import { WebhookListUrlSortField } from "@saleor/webhooks/urls"; @@ -19,6 +20,13 @@ const props: WebhooksListPageProps = { ...searchPageProps, ...sortPageProps, ...tabPageProps, + ...filterPageProps, + filterOpts: { + isActive: { + active: false, + value: true + } + }, onBack: () => undefined, onRemove: () => undefined, sort: {