Skip to content

Commit

Permalink
Merge pull request #1291 from sagely1/AG-1369-null-ensembl-info-values
Browse files Browse the repository at this point in the history
AG-1369 Fix for null ensembl_info values
  • Loading branch information
sagely1 authored Mar 13, 2024
2 parents 2c0e536 + 276befb commit 7db83d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h4 class="gene-hero-aliases-heading">Also known as</h4>
<ng-container *ngIf="getEnsemblUrl() === ''">
<span *ngIf="getEnsemblUrl() === ''">{{ gene.ensembl_gene_id }}</span>
</ng-container>
<p *ngIf="gene.ensembl_info.ensembl_possible_replacements.length > 0">
<p *ngIf="gene.ensembl_info?.ensembl_possible_replacements">
<a [href]="getPossibleReplacementsURL()">Possible replacement value<span *ngIf="gene.ensembl_info.ensembl_possible_replacements.length > 1">s</span></a>:
{{ gene.ensembl_info.ensembl_possible_replacements.join(', ')}}
</p>
Expand Down

0 comments on commit 7db83d5

Please sign in to comment.