From 047631473ba83399c4a1e3cb2d6b940d160cec7e Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Mon, 8 Dec 2025 17:39:19 +0100 Subject: [PATCH] Web App: Support setup closing behavior from event (#6507) --- src/components/modals/webApp/WebAppModalTabContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modals/webApp/WebAppModalTabContent.tsx b/src/components/modals/webApp/WebAppModalTabContent.tsx index 15834b4c3..9bd8820a9 100644 --- a/src/components/modals/webApp/WebAppModalTabContent.tsx +++ b/src/components/modals/webApp/WebAppModalTabContent.tsx @@ -631,7 +631,7 @@ const WebAppModalTabContent: FC = ({ } if (eventType === 'web_app_setup_closing_behavior') { - updateCurrentWebApp({ shouldConfirmClosing: true }); + updateCurrentWebApp({ shouldConfirmClosing: eventData.need_confirmation }); } if (eventType === 'web_app_open_popup') {