fix(changelog): fix changelog display
This commit is contained in:
parent
52cdf93942
commit
db68f8b926
@ -154,14 +154,16 @@ class App extends Component {
|
|||||||
appReady = false;
|
appReady = false;
|
||||||
}
|
}
|
||||||
render() {
|
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 null // nothing to do yet
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MuiThemeProvider>
|
<MuiThemeProvider>
|
||||||
<div>
|
<div>
|
||||||
{
|
{
|
||||||
((window.currentWindow && !window.currentWindow.isModal()) || typeof WEB !== 'undefined')
|
checkNotModal
|
||||||
&&
|
&&
|
||||||
<Header />
|
<Header />
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user