Skip to content

Commit

Permalink
fix metadata timestamp for shareableviz (#1679)
Browse files Browse the repository at this point in the history
Signed-off-by: ravi-kumar-pilla <[email protected]>
  • Loading branch information
ravi-kumar-pilla authored Dec 12, 2023
1 parent 8c9546e commit e36be71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/components/flowchart-wrapper/flowchart-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';

/**
Expand Down Expand Up @@ -294,6 +295,7 @@ export const FlowChartWrapper = ({
>
<LoadingIcon visible={loading} />
</div>
{isRunningLocally() ? null : <ShareableUrlMetadata />}
</div>
<ExportModal />
<MetadataModal />
Expand Down
2 changes: 0 additions & 2 deletions src/components/wrapper/wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -53,7 +52,6 @@ export const Wrapper = ({ displayGlobalToolbar, theme }) => {
isOutdated={isOutdated}
latestVersion={latestVersion}
/>
{isRunningLocally() ? null : <ShareableUrlMetadata />}
{isRunningLocally() ? <ShareableUrlModal /> : null}
{versionData && (
<UpdateReminder
Expand Down

0 comments on commit e36be71

Please sign in to comment.