fix: backlinks, untyped links don't include OFs
parent
1c62a2f92c
commit
28df11e41c
|
@ -172,7 +172,7 @@
|
|||
: filteredUntypedAttributes;
|
||||
|
||||
$: filteredUntypedLinks = untypedLinks.filter(
|
||||
(entry) => ![ATTR_IN].includes(entry.attribute)
|
||||
(entry) => ![ATTR_IN, ATTR_OF].includes(entry.attribute)
|
||||
);
|
||||
|
||||
$: currentUntypedLinks = editable ? untypedLinks : filteredUntypedLinks;
|
||||
|
@ -181,7 +181,7 @@
|
|||
(editable
|
||||
? $entity?.backlinks
|
||||
: $entity?.backlinks.filter(
|
||||
(entry) => ![ATTR_IN].includes(entry.attribute)
|
||||
(entry) => ![ATTR_IN, ATTR_OF].includes(entry.attribute)
|
||||
)) || [];
|
||||
|
||||
$: tagged = $entity?.attr[`~${ATTR_IN}`] || [];
|
||||
|
|
Loading…
Reference in New Issue