Skip to content

Commit

Permalink
fix(recordinfodetailsitemvalue): change http to https where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
marikaris committed Jan 18, 2021
1 parent 95968d9 commit 3e7a7d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/RecordInfoDetailsItemValue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Anchor
v-else-if="isEnsemblFeatureId() && (genomeAssembly === 'GRCh37' || genomeAssembly === 'GRCh38')"
:href="
'http://' +
'https://' +
(genomeAssembly === 'GRCh37' ? 'grch37' : 'www') +
'.ensembl.org/Homo_sapiens/Transcript/Summary?db=core;t=' +
encodeURIComponent(value)
Expand All @@ -42,7 +42,7 @@
<Anchor
v-else-if="isEnsemblFeatureId() && (genomeAssembly === 'GRCh37' || genomeAssembly === 'GRCh38')"
:href="
'http://' +
'https://' +
(genomeAssembly === 'GRCh37' ? 'grch37' : 'www') +
'.ensembl.org/Homo_sapiens/Transcript/Summary?db=core;t=' +
encodeURIComponent(value.substring(0, value.indexOf(':')))
Expand Down

0 comments on commit 3e7a7d0

Please sign in to comment.