From 46a3ba510a02464b27b806af8fd1131dbc3da242 Mon Sep 17 00:00:00 2001
From: bob <bcz@cs.brown.edu>
Date: Tue, 5 Feb 2019 11:33:30 -0500
Subject: more reorg

---
 src/views/collections/CollectionSchemaView.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/views/collections/CollectionSchemaView.tsx')

diff --git a/src/views/collections/CollectionSchemaView.tsx b/src/views/collections/CollectionSchemaView.tsx
index 8c79c9189..b2ff95329 100644
--- a/src/views/collections/CollectionSchemaView.tsx
+++ b/src/views/collections/CollectionSchemaView.tsx
@@ -20,13 +20,13 @@ export class CollectionSchemaView extends CollectionViewBase {
     selectedIndex = 0;
 
     renderCell = (rowProps: CellInfo) => {
-        if (!this.props.DocumentContentsOfCollection) {
+        if (!this.props.DocumentViewForCollection) {
             return <div></div>
         }
         let props: FieldViewProps = {
             doc: rowProps.value[0],
             fieldKey: rowProps.value[1],
-            documentViewContainer: this.props.DocumentContentsOfCollection
+            documentViewContainer: this.props.DocumentViewForCollection
         }
         return (
             <FieldView {...props} />
@@ -78,7 +78,7 @@ export class CollectionSchemaView extends CollectionViewBase {
         let content;
         if (this.selectedIndex != -1) {
             content = (<DocumentView Document={children[this.selectedIndex]}
-                DocumentContentsView={this.props.DocumentContentsOfCollection}
+                DocumentContentsView={this.props.DocumentViewForCollection}
                 ContainingCollectionView={this} />)
         } else {
             content = <div />
-- 
cgit v1.2.3-70-g09d2

