From 2fd148c62439ec7e8ef7c2b4ea2c14c1d0e41c9e Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Wed, 13 Mar 2024 16:08:56 +0100 Subject: [PATCH] update story example code --- .../schedule-modal/document-schedule-modal.stories.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/modals/schedule-modal/document-schedule-modal.stories.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/modals/schedule-modal/document-schedule-modal.stories.ts index 7ee6a08e9a..120f4833a5 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/modals/schedule-modal/document-schedule-modal.stories.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/modals/schedule-modal/document-schedule-modal.stories.ts @@ -56,7 +56,7 @@ const modalData: UmbDocumentScheduleModalData = { }; const modalValue: UmbDocumentScheduleModalValue = { - selection: ['en-us'], + selection: [{ unique: 'en-us', schedule: null }], }; const meta: Meta = { @@ -103,7 +103,10 @@ this.consumeContext(UMB_MODAL_MANAGER_CONTEXT, (modalManager) => { }, }, ], - } + }, + value: { + selection: [{ unique: 'en-us', schedule: null }], + }, }).onSubmit().catch(() => undefined); }); `,