aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-10 14:56:42 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-10 14:56:42 -0400
commit03f9fd4beb2bd3efa8f88c71bdbaf52dbec82e66 (patch)
treef12c7a7376449f1a79bda11938140eb23401f4dc /src/client/views/collections/collectionSchema/SchemaRowBox.tsx
parent4b604b5118a1aac89d977c832c81495ec2c9aa19 (diff)
sub-collection doc adding refactor complete except for small bug
Diffstat (limited to 'src/client/views/collections/collectionSchema/SchemaRowBox.tsx')
-rw-r--r--src/client/views/collections/collectionSchema/SchemaRowBox.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
index 58964d9fb..a0d3144ce 100644
--- a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
+++ b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
@@ -79,7 +79,6 @@ export class SchemaRowBox extends ViewBoxBaseComponent<SchemaRowBoxProps>() {
description: this.Document._childrenSharedWithSchema ? 'Remove children from schema' : 'Add children to schema',
event: () => {
this.Document._childrenSharedWithSchema = !this.Document._childrenSharedWithSchema;
- this.Document._childrenSharedWithSchema ? this.schemaView.addDocsFromOtherCollection(childDocs) : this.schemaView.removeDocsFromOtherCollection(childDocs);
},
icon: this.Document._childrenSharedWithSchema ? 'minus' : 'plus',
});