From 44790a88589e4585040eba1adf97c5c33034f7e1 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Fri, 14 Jan 2022 19:54:07 +0300 Subject: [PATCH] [mobile] Fix bug 54873 --- apps/common/mobile/lib/controller/Plugins.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/mobile/lib/controller/Plugins.jsx b/apps/common/mobile/lib/controller/Plugins.jsx index 8c7d5394f..dd0fff6eb 100644 --- a/apps/common/mobile/lib/controller/Plugins.jsx +++ b/apps/common/mobile/lib/controller/Plugins.jsx @@ -121,7 +121,7 @@ const PluginsController = inject('storeAppOptions')(observer(props => { }; const pluginClose = plugin => { - if (plugin) { + if (plugin && modal) { modal.close(); } };