diff options
| author | bob <bcz@cs.brown.edu> | 2019-10-21 15:45:51 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-10-21 15:45:51 -0400 |
| commit | 4d02c9b581a22da777232124f2b1a96f8e342285 (patch) | |
| tree | d9c433f1247ec3bad15c3ecdfdb8c342bcedec54 /src/client/views/collections/CollectionStackingView.tsx | |
| parent | 9586d1e6bad65070a472da7a067db03f26fe9a4c (diff) | |
initial simplification to fieldExt
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index 1bb2d2f46..5fb0c0f9f 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -170,6 +170,7 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) { return <CollectionSchemaPreview Document={doc} DataDocument={dataDoc} + fieldKey={this.props.fieldKey} showOverlays={this.overlays} renderDepth={this.props.renderDepth} ruleProvider={this.props.Document.isRuleProvider && layoutDoc.type !== DocumentType.TEXT ? this.props.Document : this.props.ruleProvider} @@ -389,7 +390,6 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) { SetValue: this.addGroup, contents: "+ ADD A GROUP" }; - Doc.UpdateDocumentExtensionForField(this.props.DataDoc ? this.props.DataDoc : this.props.Document, this.props.fieldKey); let sections = [[undefined, this.filteredChildren] as [SchemaHeaderField | undefined, Doc[]]]; if (this.sectionFilter) { let entries = Array.from(this.Sections.entries()); |
