From 28df11e41c5f6c9f3e955044321011ead4c8b1dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sun, 30 Jul 2023 18:03:28 +0200 Subject: [PATCH] fix: backlinks, untyped links don't include OFs --- webui/src/components/Inspect.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webui/src/components/Inspect.svelte b/webui/src/components/Inspect.svelte index eb76df5..d6f8c02 100644 --- a/webui/src/components/Inspect.svelte +++ b/webui/src/components/Inspect.svelte @@ -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}`] || [];