mirror of
https://github.com/appwrite/console.git
synced 2026-04-07 19:17:46 +00:00
fix: logic for filter and message.
This commit is contained in:
+2
-2
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user