From 68e757bef74ca68b1822be0c36f630562562dedc Mon Sep 17 00:00:00 2001 From: Kim Rutherford Date: Thu, 12 Dec 2024 12:15:31 +1300 Subject: [PATCH] Fix greyed-out top level terms in slim term filter Refs pombase/website#2299 --- .../annotation-table-term-filter.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/annotation-table-term-filter/annotation-table-term-filter.component.ts b/src/app/annotation-table-term-filter/annotation-table-term-filter.component.ts index 645d7b2d..f5f9ec6a 100644 --- a/src/app/annotation-table-term-filter/annotation-table-term-filter.component.ts +++ b/src/app/annotation-table-term-filter/annotation-table-term-filter.component.ts @@ -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;