From b41722152c36bb360adb25ff6c77abad0252d0a8 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Thu, 3 Sep 2020 13:56:31 +0200 Subject: [PATCH] Update fixtures --- src/orders/fixtures.ts | 2 ++ src/storybook/stories/orders/OrderDetailsPage.tsx | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/orders/fixtures.ts b/src/orders/fixtures.ts index 45febc49d0..ddbd5aa258 100644 --- a/src/orders/fixtures.ts +++ b/src/orders/fixtures.ts @@ -1157,8 +1157,10 @@ export const draftOrder = (placeholder: string): OrderDetails_order => ({ } } ], + metadata: [], number: "24", paymentStatus: null, + privateMetadata: [], shippingAddress: null, shippingMethod: null, shippingMethodName: null, diff --git a/src/storybook/stories/orders/OrderDetailsPage.tsx b/src/storybook/stories/orders/OrderDetailsPage.tsx index 27b23fa0ef..f8613132fe 100644 --- a/src/storybook/stories/orders/OrderDetailsPage.tsx +++ b/src/storybook/stories/orders/OrderDetailsPage.tsx @@ -19,6 +19,7 @@ const order = orderFixture(placeholderImage); const props: Omit = { countries, + disabled: false, onBack: () => undefined, onBillingAddressEdit: undefined, onFulfillmentCancel: () => undefined, @@ -36,7 +37,9 @@ const props: Omit = { onProductClick: undefined, onProfileView: () => undefined, onShippingAddressEdit: undefined, + onSubmit: () => undefined, order, + saveButtonBarState: "default", userPermissions: adminUserPermissions };