diff --git a/src/components/flowchart-wrapper/flowchart-wrapper.js b/src/components/flowchart-wrapper/flowchart-wrapper.js index 4b9ece1864..5be27a971b 100644 --- a/src/components/flowchart-wrapper/flowchart-wrapper.js +++ b/src/components/flowchart-wrapper/flowchart-wrapper.js @@ -21,6 +21,7 @@ import PipelineWarning from '../pipeline-warning'; import LoadingIcon from '../icons/loading'; import MetaData from '../metadata'; import MetadataModal from '../metadata-modal'; +import ShareableUrlMetadata from '../shareable-url-modal/shareable-url-metadata'; import Sidebar from '../sidebar'; import Button from '../ui/button'; import CircleProgressBar from '../ui/circle-progress-bar'; @@ -33,7 +34,7 @@ import { } from '../../config'; import { findMatchedPath } from '../../utils/match-path'; import { getKeyByValue } from '../../utils/get-key-by-value'; - +import { isRunningLocally } from '../../utils'; import './flowchart-wrapper.scss'; /** @@ -294,6 +295,7 @@ export const FlowChartWrapper = ({ > + {isRunningLocally() ? null : } diff --git a/src/components/wrapper/wrapper.js b/src/components/wrapper/wrapper.js index ccca16aa89..a90e83778a 100644 --- a/src/components/wrapper/wrapper.js +++ b/src/components/wrapper/wrapper.js @@ -15,7 +15,6 @@ import ExperimentWrapper from '../experiment-wrapper'; import SettingsModal from '../settings-modal'; import UpdateReminder from '../update-reminder'; import ShareableUrlModal from '../shareable-url-modal'; -import ShareableUrlMetadata from '../shareable-url-modal/shareable-url-metadata'; import './wrapper.scss'; @@ -53,7 +52,6 @@ export const Wrapper = ({ displayGlobalToolbar, theme }) => { isOutdated={isOutdated} latestVersion={latestVersion} /> - {isRunningLocally() ? null : } {isRunningLocally() ? : null} {versionData && (