aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSchemaView.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-02-19 05:19:50 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-02-19 05:19:50 -0500
commitec2b0b56058fce137ff28ae3ec125f9e695f315c (patch)
treed29365b0969149dfc8f8bb2931482acc52f664db /src/client/views/collections/CollectionSchemaView.tsx
parent70f0ba1275fa879e86d05c1aa3bb5b1567e3d04c (diff)
Changed some names, added some comments, and got rid of some unused stuff
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
-rw-r--r--src/client/views/collections/CollectionSchemaView.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx
index 9a0ce0782..5c95aca99 100644
--- a/src/client/views/collections/CollectionSchemaView.tsx
+++ b/src/client/views/collections/CollectionSchemaView.tsx
@@ -104,7 +104,7 @@ export class CollectionSchemaView extends CollectionViewBase {
@observable
private _parentScaling = 1; // used to transfer the dimensions of the content pane in the DOM to the ParentScaling prop of the DocumentView
render() {
- const { DocumentForCollection: Document, CollectionFieldKey: fieldKey } = this.props;
+ const { Document: Document, fieldKey: fieldKey } = this.props;
const children = Document.GetList<Document>(fieldKey, []);
const columns = Document.GetList(KS.ColumnsKey,
[KS.Title, KS.Data, KS.Author])
@@ -126,7 +126,7 @@ export class CollectionSchemaView extends CollectionViewBase {
ScreenToLocalTransform={() => Transform.Identity}//TODO This should probably be an actual transform
Scaling={this._parentScaling}
isTopMost={false}
- DocumentView={undefined} ContainingCollectionView={me} />
+ ContainingCollectionView={me} />
</div>
}
</Measure>