Skip to content

Commit

Permalink
Fix removed read-only terms not showing in search
Browse files Browse the repository at this point in the history
  • Loading branch information
bindeali committed Aug 20, 2024
1 parent f8aa943 commit 395ed49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/panels/VocabularyPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ export default class VocabularyPanel extends React.Component<Props, State> {
results,
Object.keys(results).filter(
(iri) =>
(iri in WorkspaceTerms && WorkspaceElements[iri].active) ||
(iri in WorkspaceTerms &&
WorkspaceElements[iri].active &&
Object.values(WorkspaceElements[iri].hidden).every((e) => !e)) ||
!isElementVisible(results[iri].types, AppSettings.representation)
)
);
Expand Down

0 comments on commit 395ed49

Please sign in to comment.