Skip to content

Commit

Permalink
Fix greyed-out top level terms in slim term filter
Browse files Browse the repository at this point in the history
Refs #2299
  • Loading branch information
kimrutherford committed Dec 11, 2024
1 parent 130a1a7 commit 68e757b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class AnnotationTableTermFilterComponent implements OnInit, OnChanges {
let seenAncestors: { [key: string]: boolean } = {};

for (let termAnnotation of this.annotationTable) {
seenAncestors[termAnnotation.term.termid] = true;
if (termAnnotation.term.interesting_parent_ids) {
for (let ancestor of termAnnotation.term.interesting_parent_ids) {
seenAncestors[ancestor] = true;
Expand Down

0 comments on commit 68e757b

Please sign in to comment.