diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-03-30 17:10:04 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-03-30 17:10:04 -0400 |
| commit | 486e84c725b60a1dd1312c7903a4d248aa44d4e8 (patch) | |
| tree | 3ae781c3167abae4eb4a72ffc99b9a75256cca54 /src/client/views/collections/CollectionSchemaView.tsx | |
| parent | 71b0e84cb852bc171a5df96b36cbb5f7bd1c150c (diff) | |
fixed captions and got rid of inappropriate references to Doc.expandTemplate
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSchemaView.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx index 6eeceb552..a4502cced 100644 --- a/src/client/views/collections/CollectionSchemaView.tsx +++ b/src/client/views/collections/CollectionSchemaView.tsx @@ -119,11 +119,10 @@ export class CollectionSchemaView extends CollectionSubView(doc => doc) { @computed get previewPanel() { - const layoutDoc = this.previewDocument ? Doc.expandTemplateLayout(this.previewDocument, this.props.DataDoc) : undefined; return <div ref={this.createTarget}> <ContentFittingDocumentView - Document={layoutDoc} - DataDocument={this.previewDocument !== this.props.DataDoc ? this.props.DataDoc : undefined} + Document={this.previewDocument} + DataDocument={undefined} LibraryPath={this.props.LibraryPath} childDocs={this.childDocs} renderDepth={this.props.renderDepth} |
