mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-02-18 02:55:48 +00:00
Make details panel visible by default
This commit is contained in:
parent
0d4766e6e3
commit
67afb1d16d
@ -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: '/'});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user