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(); } };