From 945f7e8fe08b4fb80a67b9e0f5714c6cdd70de24 Mon Sep 17 00:00:00 2001 From: Andrey Platov Date: Fri, 3 Sep 2021 11:17:26 +0200 Subject: [PATCH] fix popup result Signed-off-by: Andrey Platov --- packages/ui/src/components/PopupInstance.svelte | 12 ++++++------ .../src/components/CreateApplication.svelte | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) 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 @@ $: { -