aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSchemaView.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-02-13 04:50:56 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-02-13 04:50:56 -0500
commitc93c3e1970c6ecc91b60f1782e82b1bfdc7fef30 (patch)
tree47c30b57d3ec6ac3d1f535e8186c0cf527640010 /src/client/views/collections/CollectionSchemaView.tsx
parent46a4c26dbadefaf981637f79fb5f76e458baac9d (diff)
A lot of stuff working, a lot of other stuff not working
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
-rw-r--r--src/client/views/collections/CollectionSchemaView.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx
index f1e882e20..adae8560e 100644
--- a/src/client/views/collections/CollectionSchemaView.tsx
+++ b/src/client/views/collections/CollectionSchemaView.tsx
@@ -27,7 +27,8 @@ export class CollectionSchemaView extends CollectionViewBase {
let props: FieldViewProps = {
doc: rowProps.value[0],
fieldKey: rowProps.value[1],
- DocumentViewForField: undefined,
+ isSelected: () => false,
+ isTopMost: false
}
let contents = (
<FieldView {...props} />
@@ -110,6 +111,7 @@ export class CollectionSchemaView extends CollectionViewBase {
AddDocument={this.addDocument} RemoveDocument={this.removeDocument}
GetTransform={() => Transform.Identity}//TODO This should probably be an actual transform
Scaling={1}
+ isTopMost={false}
DocumentView={undefined} ContainingCollectionView={this} />
)
} else {