Skip to content

Commit

Permalink
fix: incoming relation show subject
Browse files Browse the repository at this point in the history
  • Loading branch information
mosoriob committed Nov 7, 2023
1 parent 0db9792 commit b84bbce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/includes/incoming-relations.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ table(class='table table-striped')
tr
td
if quad.subject.termType == 'NamedNode'
a(href=quad.object.value) #{toPrefix(quad.object.value)}
a(href=quad.subject.value) #{toPrefix(quad.subject.value)}
else
span #{toPrefix(quad.object.value)}
span #{toPrefix(quad.subject.value)}
td
if quad.predicate.termType == 'NamedNode'
a(href=quad.predicate.value) #{toPrefix(quad.predicate.value)}
Expand Down

0 comments on commit b84bbce

Please sign in to comment.