Make details panel visible by default

This commit is contained in:
Przemek Wiech 2019-03-09 23:18:14 +01:00
parent 0d4766e6e3
commit 67afb1d16d

View File

@ -70,7 +70,7 @@ export class App extends React.Component<RouteComponentProps, {}> {
const generation = !isNaN(parsedGen) ? parsedGen : undefined; const generation = !isNaN(parsedGen) ? parsedGen : undefined;
const hash = getParam('file'); const hash = getParam('file');
const handleCors = getParam('handleCors') !== 'false'; // True by default. const handleCors = getParam('handleCors') !== 'false'; // True by default.
const showSidePanel = getParam('sidePanel') === 'true'; // False by default. const showSidePanel = getParam('sidePanel') !== 'false'; // True by default.
if (!url && !hash) { if (!url && !hash) {
this.props.history.replace({pathname: '/'}); this.props.history.replace({pathname: '/'});