From 056455c92d63265326ff2da483f626345bbb8282 Mon Sep 17 00:00:00 2001 From: ghalestrilo Date: Tue, 28 Jul 2020 18:10:20 -0300 Subject: [PATCH] :broom: restore devtools sidebar, enable mobile on .env.example --- .env.example | 1 + client/modules/App/App.jsx | 3 +-- client/modules/Mobile/MobileDashboard.jsx | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 3a070317..a1db1ecb 100644 --- a/.env.example +++ b/.env.example @@ -26,3 +26,4 @@ S3_BUCKET_URL_BASE= SESSION_SECRET=whatever_you_want_this_to_be_it_only_matters_for_production UI_ACCESS_TOKEN_ENABLED=false UPLOAD_LIMIT=250000000 +MOBILE_ENABLED=true diff --git a/client/modules/App/App.jsx b/client/modules/App/App.jsx index 346ea411..af441a9d 100644 --- a/client/modules/App/App.jsx +++ b/client/modules/App/App.jsx @@ -34,8 +34,7 @@ class App extends React.Component { render() { return (
- {/* FIXME: remove false */} - {false && this.state.isMounted && !window.devToolsExtension && getConfig('NODE_ENV') === 'development' && } + {this.state.isMounted && !window.devToolsExtension && getConfig('NODE_ENV') === 'development' && } {this.props.children}
); diff --git a/client/modules/Mobile/MobileDashboard.jsx b/client/modules/Mobile/MobileDashboard.jsx index 4358e68e..adda7b59 100644 --- a/client/modules/Mobile/MobileDashboard.jsx +++ b/client/modules/Mobile/MobileDashboard.jsx @@ -31,7 +31,7 @@ const Subheader = styled.div` border-radius: 0px; } } - .searchbar__input { width: 100%; } + .searchbar__input { width: 100%; } `; @@ -67,7 +67,6 @@ const MobileDashboard = ({ username }) => { {Panels[selected] && Panels[selected]({ username })} -