Skip to content

Commit ebe2f7f

Browse files
Fran McDadeFran McDade
authored andcommitted
feat: updated analyze url (#34)
1 parent 28b536c commit ebe2f7f

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

app/viewModelBuilders/catalog/brc-analytics-catalog/common/viewModelBuilders.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,17 @@ export const buildContigs = (
5555
* @param cardProps - Card properties.
5656
* @param cardProps.text - Card text.
5757
* @param cardProps.title - Card title.
58+
* @param cardProps.url - Card url.
5859
* @returns Props to be used for the AnalysisMethod component.
5960
*/
6061
export const buildGenomeAnalysisMethod = (
6162
genome: BRCDataCatalogGenome,
62-
{ text, title }: Partial<CardProps>
63+
{ text, title, url }: Partial<CardProps> & { url: string }
6364
): ComponentProps<typeof C.AnalysisMethod> => {
6465
return {
6566
text,
6667
title,
67-
url: "",
68+
url,
6869
};
6970
};
7071

site-config/brc-analytics/local/entity/genome/analysisMethodMainColumn.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export const mainColumn: ComponentsConfig = [
2121
V.buildGenomeAnalysisMethod(r, {
2222
text: MDX.VariantCalling({}),
2323
title: "Variant calling",
24+
url: "",
2425
}),
2526
},
2627
{
@@ -29,6 +30,7 @@ export const mainColumn: ComponentsConfig = [
2930
V.buildGenomeAnalysisMethod(r, {
3031
text: MDX.Transcriptomics({}),
3132
title: "Transcriptomics",
33+
url: "",
3234
}),
3335
},
3436
{
@@ -37,6 +39,7 @@ export const mainColumn: ComponentsConfig = [
3739
V.buildGenomeAnalysisMethod(r, {
3840
text: MDX.Regulation({}),
3941
title: "Regulation",
42+
url: "",
4043
}),
4144
},
4245
{
@@ -45,6 +48,7 @@ export const mainColumn: ComponentsConfig = [
4548
V.buildGenomeAnalysisMethod(r, {
4649
text: MDX.Assembly({}),
4750
title: "Assembly",
51+
url: "",
4852
}),
4953
},
5054
{
@@ -53,6 +57,7 @@ export const mainColumn: ComponentsConfig = [
5357
V.buildGenomeAnalysisMethod(r, {
5458
text: MDX.GenomeComparisons({}),
5559
title: "Genome comparisons",
60+
url: "",
5661
}),
5762
},
5863
{
@@ -61,6 +66,7 @@ export const mainColumn: ComponentsConfig = [
6166
V.buildGenomeAnalysisMethod(r, {
6267
text: MDX.ProteinFolding({}),
6368
title: "Protein folding",
69+
url: "",
6470
}),
6571
},
6672
],

0 commit comments

Comments
 (0)