Skip to content

Commit

Permalink
Fix error on individual page when property does not have a definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesamcl committed Nov 7, 2024
1 parent 3783d98 commit 9bc7e55
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ export default function IndividualPropertyAssertionsSection({
let objectProperties = propertyIris.filter(
(k) =>
linkedEntities.get(k) &&
linkedEntities.get(k)!.type &&
linkedEntities.get(k)!.type.indexOf("objectProperty") !== -1
);

let dataProperties = propertyIris.filter(
(k) =>
linkedEntities.get(k) &&
linkedEntities.get(k)!.type &&
linkedEntities.get(k)!.type.indexOf("dataProperty") !== -1
);

Expand Down

0 comments on commit 9bc7e55

Please sign in to comment.