File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
viewModelBuilders/catalog/brc-analytics-catalog/common Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export {
22
22
} from "@databiosphere/findable-ui/lib/components/Layout/components/BackPage/backPageView.styles" ;
23
23
export { DetailViewTable } from "@databiosphere/findable-ui/lib/components/Detail/components/DetailViewTable/detailViewTable" ;
24
24
export { BackPageHero } from "@databiosphere/findable-ui/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero" ;
25
+ export { SubTitle } from "@databiosphere/findable-ui/lib/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle" ;
25
26
export { Logo } from "@databiosphere/findable-ui/lib/components/Layout/components/Header/components/Content/components/Logo/logo" ;
26
27
export { Link } from "@databiosphere/findable-ui/lib/components/Links/components/Link/link" ;
27
28
export { BasicCell } from "@databiosphere/findable-ui/lib/components/Table/components/TableCell/components/BasicCell/basicCell" ;
Original file line number Diff line number Diff line change @@ -370,6 +370,10 @@ export const buildGenomeChooseAnalysisMethodDetailViewHero = (
370
370
) : ComponentProps < typeof C . BackPageHero > => {
371
371
return {
372
372
breadcrumbs : getGenomeEntityChooseAnalysisMethodBreadcrumbs ( genome ) ,
373
+ subTitle : C . Link ( {
374
+ label : C . SubTitle ( { subTitle : genome . species } ) ,
375
+ url : `${ ROUTES . ORGANISMS } /${ encodeURIComponent ( getGenomeOrganismId ( genome ) ) } ` ,
376
+ } ) ,
373
377
title : genome . accession ,
374
378
} ;
375
379
} ;
@@ -570,7 +574,6 @@ function getGenomeEntityChooseAnalysisMethodBreadcrumbs(
570
574
) : Breadcrumb [ ] {
571
575
return [
572
576
{ path : ROUTES . GENOMES , text : "Assemblies" } ,
573
- { path : "" , text : `${ genome . species } ` } ,
574
577
{ path : "" , text : genome . accession } ,
575
578
] ;
576
579
}
You can’t perform that action at this time.
0 commit comments