Skip to content

Commit

Permalink
Merge pull request #165 from diplodoc-platform/embed-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
v8tenko authored Sep 28, 2023
2 parents 53900f1 + 877bc7b commit 09a910a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DocPage/DocPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ class DocPage extends React.Component<DocPageInnerProps, DocPageState> {
private renderTocNavPanel() {
const {toc, singlePage, router, fullScreen} = this.props;

if (singlePage) {
if (!toc || singlePage) {
return null;
}

Expand Down

0 comments on commit 09a910a

Please sign in to comment.