mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-31 16:11:48 +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 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: '/'});
|
||||||
|
|||||||
Reference in New Issue
Block a user