🧹 restore devtools sidebar, enable mobile on .env.example

This commit is contained in:
ghalestrilo 2020-07-28 18:10:20 -03:00
parent b2c4a6cd9d
commit 056455c92d
3 changed files with 3 additions and 4 deletions

View file

@ -26,3 +26,4 @@ S3_BUCKET_URL_BASE=<alt-for-s3-url>
SESSION_SECRET=whatever_you_want_this_to_be_it_only_matters_for_production SESSION_SECRET=whatever_you_want_this_to_be_it_only_matters_for_production
UI_ACCESS_TOKEN_ENABLED=false UI_ACCESS_TOKEN_ENABLED=false
UPLOAD_LIMIT=250000000 UPLOAD_LIMIT=250000000
MOBILE_ENABLED=true

View file

@ -34,8 +34,7 @@ class App extends React.Component {
render() { render() {
return ( return (
<div className="app"> <div className="app">
{/* FIXME: remove false */} {this.state.isMounted && !window.devToolsExtension && getConfig('NODE_ENV') === 'development' && <DevTools />}
{false && this.state.isMounted && !window.devToolsExtension && getConfig('NODE_ENV') === 'development' && <DevTools />}
{this.props.children} {this.props.children}
</div> </div>
); );

View file

@ -31,7 +31,7 @@ const Subheader = styled.div`
border-radius: 0px; border-radius: 0px;
} }
} }
.searchbar__input { width: 100%; } .searchbar__input { width: 100%; }
`; `;
@ -67,7 +67,6 @@ const MobileDashboard = ({ username }) => {
{Panels[selected] && Panels[selected]({ username })} {Panels[selected] && Panels[selected]({ username })}
</Content> </Content>
<Footer> <Footer>
{!isExamples && {!isExamples &&
<FooterTabSwitcher> <FooterTabSwitcher>