Skip to content

Commit

Permalink
Update the workflow of archiving version from version details page
Browse files Browse the repository at this point in the history
  • Loading branch information
ppadti committed Oct 9, 2024
1 parent 25e1a44 commit 09c0aba
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { ModelRegistryContext } from '~/concepts/modelRegistry/context/ModelRegi
import { ModelVersion, ModelState } from '~/concepts/modelRegistry/types';
import { ModelRegistrySelectorContext } from '~/concepts/modelRegistry/context/ModelRegistrySelectorContext';
import {
modelVersionArchiveDetailsUrl,
modelVersionDeploymentsUrl,
modelVersionListUrl,
} from '~/pages/modelRegistry/screens/routeUtils';
import DeployRegisteredModelModal from '~/pages/modelRegistry/screens/components/DeployRegisteredModelModal';

Expand Down Expand Up @@ -100,11 +100,7 @@ const ModelVersionsDetailsHeaderActions: React.FC<ModelVersionsDetailsHeaderActi
)
.then(() =>
navigate(
modelVersionArchiveDetailsUrl(
mv.id,
mv.registeredModelId,
preferredModelRegistry?.metadata.name,
),
modelVersionListUrl(mv.registeredModelId, preferredModelRegistry?.metadata.name),
),
)
}
Expand Down

0 comments on commit 09c0aba

Please sign in to comment.