fix: backlinks, untyped links don't include OFs
This commit is contained in:
parent
1c62a2f92c
commit
28df11e41c
1 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@
|
||||||
: filteredUntypedAttributes;
|
: filteredUntypedAttributes;
|
||||||
|
|
||||||
$: filteredUntypedLinks = untypedLinks.filter(
|
$: filteredUntypedLinks = untypedLinks.filter(
|
||||||
(entry) => ![ATTR_IN].includes(entry.attribute)
|
(entry) => ![ATTR_IN, ATTR_OF].includes(entry.attribute)
|
||||||
);
|
);
|
||||||
|
|
||||||
$: currentUntypedLinks = editable ? untypedLinks : filteredUntypedLinks;
|
$: currentUntypedLinks = editable ? untypedLinks : filteredUntypedLinks;
|
||||||
|
@ -181,7 +181,7 @@
|
||||||
(editable
|
(editable
|
||||||
? $entity?.backlinks
|
? $entity?.backlinks
|
||||||
: $entity?.backlinks.filter(
|
: $entity?.backlinks.filter(
|
||||||
(entry) => ![ATTR_IN].includes(entry.attribute)
|
(entry) => ![ATTR_IN, ATTR_OF].includes(entry.attribute)
|
||||||
)) || [];
|
)) || [];
|
||||||
|
|
||||||
$: tagged = $entity?.attr[`~${ATTR_IN}`] || [];
|
$: tagged = $entity?.attr[`~${ATTR_IN}`] || [];
|
||||||
|
|
Loading…
Reference in a new issue