diff --git a/src/views/preview/project-view.jsx b/src/views/preview/project-view.jsx index 59edcb286..2341a4fb7 100644 --- a/src/views/preview/project-view.jsx +++ b/src/views/preview/project-view.jsx @@ -717,6 +717,8 @@ class Preview extends React.Component { ); } render () { + + // Only show GUI if the project has no id, is a loaded local project, or has the project token loaded const showGUI = (!this.state.projectId || this.state.projectId === '0' || this.state.isProjectLoaded || (this.props.projectInfo && this.props.projectInfo.project_token));