aboutsummaryrefslogtreecommitdiff
path: root/src/views/collections/CollectionSchemaView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-02-05 11:33:30 -0500
committerbob <bcz@cs.brown.edu>2019-02-05 11:33:30 -0500
commit46a3ba510a02464b27b806af8fd1131dbc3da242 (patch)
treef2f247d04107062243fd36a1f59867ab84280014 /src/views/collections/CollectionSchemaView.tsx
parent58c7742c18f82fe854784b083dfa723a8f256b72 (diff)
more reorg
Diffstat (limited to 'src/views/collections/CollectionSchemaView.tsx')
-rw-r--r--src/views/collections/CollectionSchemaView.tsx6
1 files changed, 3 insertions, 3 deletions
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 />