aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-06-14 09:49:01 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-06-14 09:49:01 -0400
commit3f523f0af11ec5b5db9895a38ba81bfd4145d316 (patch)
tree13a3b15b53f0fa4ef9885156d804db7805766e79
parent9300029e95dcb8406cd05ed57c9d86107df49547 (diff)
fixed nested tables
-rw-r--r--src/client/views/collections/CollectionSchemaView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx
index 35f892d65..89fc6a406 100644
--- a/src/client/views/collections/CollectionSchemaView.tsx
+++ b/src/client/views/collections/CollectionSchemaView.tsx
@@ -651,7 +651,7 @@ export class SchemaTable extends React.Component<SchemaTableProps> {
resized={this.resized}
onResizedChange={this.onResizedChange}
SubComponent={!hasCollectionChild ? undefined : row => (row.original.type !== "collection") ? (null) :
- <div className="reactTable-sub"><SchemaTable {...this.props} Document={row.original} childDocs={undefined} /></div>}
+ <div className="reactTable-sub"><SchemaTable {...this.props} Document={row.original} dataDoc={undefined} childDocs={undefined} /></div>}
/>;
}