diff --git a/src/app/app.js b/src/app/app.js index 133686c..0c3b2e3 100644 --- a/src/app/app.js +++ b/src/app/app.js @@ -154,14 +154,16 @@ class App extends Component { appReady = false; } render() { - if(!window.initConfig) + const checkNotModal = (window.currentWindow && !window.currentWindow.isModal()) || typeof WEB !== 'undefined' + + if(checkNotModal && !window.initConfig) return null // nothing to do yet return (
{ - ((window.currentWindow && !window.currentWindow.isModal()) || typeof WEB !== 'undefined') + checkNotModal &&
}