From c6e9614f64ac72a9bae28af9b4e68f7ebbd7b119 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 10 Aug 2022 15:40:07 +0200 Subject: [PATCH] make content picker data optional --- .../src/core/services/modal/modal.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/core/services/modal/modal.service.ts b/src/Umbraco.Web.UI.Client/src/core/services/modal/modal.service.ts index d2495263a0..ac363efc3e 100644 --- a/src/Umbraco.Web.UI.Client/src/core/services/modal/modal.service.ts +++ b/src/Umbraco.Web.UI.Client/src/core/services/modal/modal.service.ts @@ -24,7 +24,7 @@ export class UmbModalService { return this.open('umb-modal-layout-confirm', { data, type: 'dialog' }); } - public contentPicker(data: UmbModalContentPickerData): UmbModalHandler { + public contentPicker(data?: UmbModalContentPickerData): UmbModalHandler { return this.open('umb-modal-layout-content-picker', { data, type: 'sidebar', size: 'small' }); }