From 771d6c16f1c06a7693308e1339169ec29a05ef00 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Mon, 14 Oct 2024 19:35:36 +0300 Subject: [PATCH] fix double screen --- src/qortalRequests/get.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qortalRequests/get.ts b/src/qortalRequests/get.ts index 2450a64..62a5da8 100644 --- a/src/qortalRequests/get.ts +++ b/src/qortalRequests/get.ts @@ -79,8 +79,9 @@ async function getUserPermission(payload: any) { top: 0, }, async (newWindow) => { + removeDuplicateWindow(popupUrl); await waitForWindowReady(newWindow.id); - removeDuplicateWindow(popupUrl); + res(null) } );