Web App: Support setup closing behavior from event (#6507)
This commit is contained in:
parent
4c43d8abf8
commit
047631473b
@ -631,7 +631,7 @@ const WebAppModalTabContent: FC<OwnProps & StateProps> = ({
|
||||
}
|
||||
|
||||
if (eventType === 'web_app_setup_closing_behavior') {
|
||||
updateCurrentWebApp({ shouldConfirmClosing: true });
|
||||
updateCurrentWebApp({ shouldConfirmClosing: eventData.need_confirmation });
|
||||
}
|
||||
|
||||
if (eventType === 'web_app_open_popup') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user