Skip to content

Commit

Permalink
Don't show gene_count link for NOT annotations
Browse files Browse the repository at this point in the history
Refs #2322
  • Loading branch information
kimrutherford committed Jan 22, 2025
1 parent 1efd9d1 commit 69bebb2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
</td>
<td *ngIf="showColumn['count']"
[attr.rowspan]="termAnnotation.annotations.length + 1">
<a *ngIf="termAnnotation.term.genotype_count == 0"
<a *ngIf="termAnnotation.term.genotype_count == 0 && !termAnnotation.is_not"
routerLink="/term/{{termAnnotation.term.termid}}"
[popover]="termGeneCount"
triggers="mouseenter:mouseleave"
Expand Down Expand Up @@ -252,7 +252,7 @@
</td>
<td *ngIf="!tableIsFiltered && compactFirstRows[termAnnotation.term.termid] && showColumn['count'] && i == 0"
[attr.rowspan]="termAnnotation.annotations.length">
<a *ngIf="typeConfig.feature_type == 'gene'"
<a *ngIf="typeConfig.feature_type == 'gene' && !termAnnotation.is_not"
routerLink="/term/{{termAnnotation.term.termid}}"
[popover]="termGeneCount"
triggers="mouseenter:mouseleave"
Expand Down

0 comments on commit 69bebb2

Please sign in to comment.