aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2023-04-19 22:25:36 -0400
committermehekj <mehek.jethani@gmail.com>2023-04-19 22:25:36 -0400
commite80fda22e5c244bc6039f851bc84656afdd601cb (patch)
tree7665ae0ebd8e85e5b18da7d4369e40d680ef5c4f /src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
parent8c5e898b89a6634f54a3961ba3693948c7d991d6 (diff)
parent0a66b0f369a13d5f399bf125727aff73cd6fd1b4 (diff)
Merge branch 'master' into schema-mehek
Diffstat (limited to 'src/client/views/collections/collectionSchema/CollectionSchemaView.tsx')
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaView.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
index 7cb3c6d93..39e223c66 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
@@ -843,7 +843,7 @@ export class CollectionSchemaView extends CollectionSubView() {
fitContentsToBox={returnTrue}
dontCenter={'y'}
onClickScriptDisable="always"
- focus={DocUtils.DefaultFocus}
+ focus={emptyFunction}
renderDepth={this.props.renderDepth + 1}
rootSelected={this.rootSelected}
PanelWidth={this.previewWidthFunc}
@@ -856,8 +856,6 @@ export class CollectionSchemaView extends CollectionSubView() {
searchFilterDocs={this.searchFilterDocs}
styleProvider={DefaultStyleProvider}
docViewPath={returnEmptyDoclist}
- ContainingCollectionDoc={this.props.CollectionView?.props.Document}
- ContainingCollectionView={this.props.CollectionView}
moveDocument={this.props.moveDocument}
addDocument={this.addRow}
removeDocument={this.props.removeDocument}
@@ -899,8 +897,6 @@ class CollectionSchemaViewDocs extends React.Component<CollectionSchemaViewDocsP
Document={doc}
DataDoc={dataDoc}
renderDepth={this.props.schema.props.renderDepth + 1}
- ContainingCollectionView={this.props.schema.props.CollectionView}
- ContainingCollectionDoc={this.props.schema.Document}
PanelWidth={this.tableWidthFunc}
PanelHeight={this.rowHeightFunc}
styleProvider={DefaultStyleProvider}