Skip to content

Commit

Permalink
Fix the bug that the triples in the right pane are not showing up
Browse files Browse the repository at this point in the history
  • Loading branch information
ripry committed Mar 17, 2021
1 parent 30043be commit 0781749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/ts/visualizer/components/Detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const Detail: React.FC<DetailProps> = (props) => {
const domainClassDetail = classes[domain || '']
const rangeClassDetail = classes[range || '']
const canDrawTriple = (node: ClassDetail | undefined) =>
node?.subClassOf?.length === 1
!node?.subClassOf || node?.subClassOf?.length === 1

return (
<>
Expand Down

0 comments on commit 0781749

Please sign in to comment.