diff --git a/frontend/src/components/file-content-view.js b/frontend/src/components/file-content-view.js index 268cac0a67..1d901a41f3 100644 --- a/frontend/src/components/file-content-view.js +++ b/frontend/src/components/file-content-view.js @@ -107,6 +107,7 @@ class FileContentView extends React.Component {
{ + let isTOCShow = true; + if (this.props.isTOCShow === false) { + isTOCShow = false; + } if (this.props.isWiki) { return (