diff --git a/src/src/experiment-tracking/components/run-page/RunViewHeader.tsx b/src/src/experiment-tracking/components/run-page/RunViewHeader.tsx index 49e0023..6949724 100644 --- a/src/src/experiment-tracking/components/run-page/RunViewHeader.tsx +++ b/src/src/experiment-tracking/components/run-page/RunViewHeader.tsx @@ -1,11 +1,14 @@ import { FormattedMessage } from 'react-intl'; import { Link } from '../../../common/utils/RoutingUtils'; +import { Button } from '@databricks/design-system'; import { OverflowMenu, PageHeader } from '../../../shared/building_blocks/PageHeader'; import Routes from '../../routes'; import { ExperimentEntity } from '../../types'; import { RenameRunModal } from '../modals/RenameRunModal'; import { RunViewModeSwitch } from './RunViewModeSwitch'; import { shouldEnableDeepLearningUI } from '../../../common/utils/FeatureUtils'; +import { useEffect, useState } from 'react'; +import { MlflowService } from 'experiment-tracking/sdk/MlflowService'; /** * Run details page header component, common for all page view modes @@ -49,12 +52,26 @@ export const RunViewHeader = ({ const breadcrumbs = [getExperimentPageLink()]; + const [namespace, setNamespace] = useState(''); + + useEffect(() => { + MlflowService.getCurrentNamespacePath().then(setNamespace); + }, []); + return (
{runDisplayName}} breadcrumbs={breadcrumbs} > + + +