diff --git a/src/components/main/index.js b/src/components/main/index.js index 909286abc..f8179df87 100644 --- a/src/components/main/index.js +++ b/src/components/main/index.js @@ -128,7 +128,9 @@ class Main extends React.Component { navBarHandler={() => {this.setState({sidebarOpen: !this.state.sidebarOpen});}} /> - {this.props.narrativeIsLoaded ? renderNarrativeToggle(this.props.dispatch, this.props.displayNarrative) : null} + {this.props.narrativeIsLoaded && !this.props.panelsToDisplay.includes("EXPERIMENTAL_MainDisplayMarkdown") ? + renderNarrativeToggle(this.props.dispatch, this.props.displayNarrative) : null + } {this.props.displayNarrative ? null : } {this.props.panelsToDisplay.includes("tree") ? : null} {this.props.panelsToDisplay.includes("map") ? : null}