diff --git a/packages/ui/src/components/PopupInstance.svelte b/packages/ui/src/components/PopupInstance.svelte index f919cfac0b..1a6bac3825 100644 --- a/packages/ui/src/components/PopupInstance.svelte +++ b/packages/ui/src/components/PopupInstance.svelte @@ -28,9 +28,9 @@ export let zIndex: number let modalHTML: HTMLElement let modalOHTML: HTMLElement -function close(ev: CustomEvent) { - console.log('got close, data', ev.detail) - if (onClose !== undefined) onClose(ev.detail) +function close(result: any) { + console.log('popup close result', result) + if (onClose !== undefined) onClose(result) closePopup() } @@ -65,12 +65,12 @@ $: {