fix(changelog): fix changelog display

This commit is contained in:
Alexey Kasyanchuk 2018-05-21 01:41:56 +03:00
parent 52cdf93942
commit db68f8b926

View File

@ -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 (
<MuiThemeProvider>
<div>
{
((window.currentWindow && !window.currentWindow.isModal()) || typeof WEB !== 'undefined')
checkNotModal
&&
<Header />
}