diff --git a/src/main/cliapp/src/components/EntityCountsComponent.js b/src/main/cliapp/src/components/EntityCountsComponent.js
index 7a5333e73..d1caed616 100644
--- a/src/main/cliapp/src/components/EntityCountsComponent.js
+++ b/src/main/cliapp/src/components/EntityCountsComponent.js
@@ -44,6 +44,9 @@ export const EntityCountsComponent = () => {
}, []);
const nameHyperlinkTemplate = (rowData) => {
+ if (!rowData.link) {
+ return rowData.name;
+ }
return {rowData.name};
};
diff --git a/src/main/cliapp/src/constants/Classes.js b/src/main/cliapp/src/constants/Classes.js
index 37e0a9145..4f9fd3acf 100644
--- a/src/main/cliapp/src/constants/Classes.js
+++ b/src/main/cliapp/src/constants/Classes.js
@@ -98,7 +98,6 @@ export const CLASSES = Object.freeze({
Reference: { name: 'Literature References', link: '/#/references', type: 'entity', hasTable: true, isIndexed: false },
SequenceTargetingReagent: {
name: 'Sequence Targeting Reagents',
- link: '/#/sqtrs',
type: 'entity',
hasTable: false,
isIndexed: true,
@@ -108,56 +107,48 @@ export const CLASSES = Object.freeze({
Exon: { name: 'Exons', link: '/#/exons', type: 'entity', hasTable: false, isIndexed: false },
CodingSequence: {
name: 'Coding Sequences',
- link: '/#/codingSequences',
type: 'entity',
hasTable: false,
isIndexed: false,
},
AssemblyComponent: {
name: 'Assembly Components',
- link: '/#/assemblyComponents',
type: 'entity',
hasTable: false,
isIndexed: false,
},
GenomeAssembly: {
name: 'Genome Assemblies',
- link: '/#/genomeAssemblies',
type: 'entity',
hasTable: false,
isIndexed: true,
},
GeneExpressionAnnotation: {
name: 'Gene Expression Annotations',
- link: '/#/geneExpressionAnnotations',
type: 'entity',
hasTable: false,
isIndexed: true,
},
PredictedVariantConsequence: {
name: 'Predicted Variant Consequences',
- link: '/#/predictedVariantConsequences',
type: 'entity',
hasTable: false,
isIndexed: false,
},
HTPExpressionDatasetAnnotation: {
name: 'HTP Expression Dataset Annotations',
- link: '/#/htpExpressionDatasetAnnotations',
type: 'entity',
hasTable: false,
isIndexed: false,
},
HTPExpressionDatasetSampleAnnotation: {
name: 'HTP Expression Dataset Sample Annotations',
- link: '/#/htpExpressionDatasetSampleAnnotations',
type: 'entity',
hasTable: false,
isIndexed: false,
},
GeneOntologyAnnotation: {
name: 'Gene Ontology Annotations',
- link: '/#/geneOntologyAnnotations',
type: 'entity',
hasTable: false,
isIndexed: false,
@@ -226,73 +217,61 @@ export const CLASSES = Object.freeze({
AlleleGeneAssociation: {
name: 'Allele Gene Associations',
- link: '/#/alleleGeneAssociations',
type: 'association',
hasTable: false,
},
AlleleVariantAssociation: {
name: 'Allele Variant Associations',
- link: '/#/alleleVariantAssociations',
type: 'association',
hasTable: false,
},
CodingSequenceGenomicLocationAssociation: {
name: 'CDS Genomic Locations',
- link: '/#/cdsGenomicLocations',
type: 'association',
hasTable: false,
},
ExonGenomicLocationAssociation: {
name: 'Exon Genomic Locations',
- link: '/#/exonGenomicLocations',
type: 'association',
hasTable: false,
},
GeneGenomicLocationAssociation: {
name: 'Gene Genomic Locations',
- link: '/#/geneGenomicLocations',
type: 'association',
hasTable: false,
},
TranscriptGenomicLocationAssociation: {
name: 'Transcript Genomic Locations',
- link: '/#/transcriptGenomicLocations',
type: 'association',
hasTable: false,
},
VariantGenomicLocationAssociation: {
name: 'Variant Genomic Locations',
- link: '/#/variantGenomicLocations',
type: 'association',
hasTable: false,
},
ConstructGenomicEntityAssociation: {
name: 'Construct Genomic Entity Associations',
- link: '/#/constructGenomicEntityAssociations',
type: 'association',
hasTable: false,
},
SequenceTargetingReagentGeneAssociation: {
name: 'SQTR Gene Associations',
- link: '/#/sqtrGeneAssociations',
type: 'association',
hasTable: false,
},
TranscriptCodingSequenceAssociation: {
name: 'Transcript CDS Associations',
- link: '/#/transcriptCodingSequenceAssociations',
type: 'association',
hasTable: false,
},
TranscriptExonAssociation: {
name: 'Transcript Exon Associations',
- link: '/#/transcriptExonAssociations',
type: 'association',
hasTable: false,
},
TranscriptGeneAssociation: {
name: 'Transcript Gene Associations',
- link: '/#/transcriptGeneAssociations',
type: 'association',
hasTable: false,
},
diff --git a/src/main/cliapp/src/containers/dashboardPage/Dashboard.js b/src/main/cliapp/src/containers/dashboardPage/Dashboard.js
index 7ab4e2623..856dda775 100644
--- a/src/main/cliapp/src/containers/dashboardPage/Dashboard.js
+++ b/src/main/cliapp/src/containers/dashboardPage/Dashboard.js
@@ -26,6 +26,9 @@ export const Dashboard = () => {
}, []);
const nameHyperlinkTemplate = (rowData) => {
+ if (!rowData.link) {
+ return rowData.name;
+ }
return {rowData.name};
};