Skip to content

Commit

Permalink
Fixed EntityLink created on type boolean and made banner.txt empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
henrietteharmse committed Jul 29, 2024
1 parent 2971e17 commit fc932cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion frontend/dist/banner.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

2 changes: 1 addition & 1 deletion frontend/src/components/ClassExpression.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function ClassExpression({
}) {
entityType = entityType || 'classes'

if (typeof expr !== "object") {
if (typeof expr !== "object" && typeof expr !== "boolean") {
// expr is just an IRI
return <EntityLink ontologyId={ontologyId} currentEntity={currentEntity} entityType={entityType} iri={expr} linkedEntities={linkedEntities} />
}
Expand Down

0 comments on commit fc932cf

Please sign in to comment.