fix: logic for filter and message.

This commit is contained in:
Darshan
2025-03-06 14:14:14 +05:30
parent 7f322dc69f
commit 0bb3de3d89
@@ -55,8 +55,8 @@
'restrict' = 'Document can not be deleted'
}
$: relAttributes = $attributes?.filter((attribute) =>
isRelationship(attribute)
$: relAttributes = $attributes?.filter(
(attribute) => isRelationship(attribute) && attribute.side === 'parent'
) as Models.AttributeRelationship[];
</script>