Skip to content

Commit

Permalink
Update project details pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-phillips-18 committed Dec 4, 2024
1 parent 10b2bd3 commit 278dade
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ const ModelServingPlatform: React.FC = () => {
return (
<>
<DetailsSection
objectType={!emptyModelServer ? ProjectObjectType.deployedModels : undefined}
objectType={!emptyModelServer ? ProjectObjectType.model : undefined}
id={ProjectSectionID.MODEL_SERVER}
title={!emptyModelServer ? ProjectSectionTitles[ProjectSectionID.MODEL_SERVER] : undefined}
actions={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const ProjectDetails: React.FC = () => {
<ApplicationsPage
title={
<Flex spaceItems={{ default: 'spaceItemsSm' }} alignItems={{ default: 'alignItemsCenter' }}>
<HeaderIcon type={ProjectObjectType.projectContext} sectionType={SectionType.organize} />
<HeaderIcon type={ProjectObjectType.projectContext} sectionType={SectionType.general} />
<FlexItem>
<ResourceNameTooltip resource={currentProject} wrap={false}>
{displayName}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const ConnectedResources: React.FC<Props> = ({ connection }) => {
{connectedNotebooks.map((notebook) => (
<ResourceLabel
key={notebook.metadata.name}
resourceType={ProjectObjectType.notebook}
resourceType={ProjectObjectType.build}
title={getDisplayNameFromK8sResource(notebook)}
/>
))}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const SelectMultiModelCard: React.FC<SelectMultiModelCardProps> = ({
const { currentProject } = React.useContext(ProjectDetailsContext);
return (
<OverviewCard
objectType={ProjectObjectType.modelServer}
objectType={ProjectObjectType.multiModel}
sectionType={SectionType.serving}
title="Multi-model serving platform"
data-testid="multi-serving-platform-card"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const SelectSingleModelCard: React.FC<SelectSingleModelCardProps> = ({
const { currentProject } = React.useContext(ProjectDetailsContext);
return (
<OverviewCard
objectType={ProjectObjectType.modelServer}
objectType={ProjectObjectType.singleModel}
sectionType={SectionType.serving}
title="Single-model serving platform"
data-testid="single-serving-platform-card"
Expand Down

0 comments on commit 278dade

Please sign in to comment.