Skip to content

Commit

Permalink
Fix typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
edmondchuc committed Aug 7, 2023
1 parent a0e8170 commit e9cf734
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/proptable/PropTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ function buildRows(properties: AnnotatedQuad[]): RowPred[] {
};
propRows[p.predicate.value].objs.push({
predIri: p.predicate.value,
value: p.object.value,
qname: p.object.termType === "NamedNode" ? iriToQname(p.object.value) : undefined,
datatype: p.object.termType === "Literal" ? { value: p.object.datatype!.value, qname: iriToQname(p.object.datatype!.value) } : undefined,
Expand Down

0 comments on commit e9cf734

Please sign in to comment.