mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-03-12 10:33:45 +00:00
Make details panel visible by default
This commit is contained in:
@@ -70,7 +70,7 @@ export class App extends React.Component<RouteComponentProps, {}> {
|
||||
const generation = !isNaN(parsedGen) ? parsedGen : undefined;
|
||||
const hash = getParam('file');
|
||||
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) {
|
||||
this.props.history.replace({pathname: '/'});
|
||||
|
||||
Reference in New Issue
Block a user