diff options
author | bob <bcz@cs.brown.edu> | 2019-05-09 14:11:35 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-05-09 14:11:35 -0400 |
commit | 244d4d127e7e1a0faadbc5a8baed7922ef03522c (patch) | |
tree | 09dfaa6d524e39fcfffba1a1bd782f4b44905cab /src/client/views/collections/CollectionSchemaView.tsx | |
parent | 9015421a227ab58f309906eabf884654d3a31a17 (diff) |
cleaned up textlinking a little.
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionSchemaView.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx index 16818affd..6dd0e5935 100644 --- a/src/client/views/collections/CollectionSchemaView.tsx +++ b/src/client/views/collections/CollectionSchemaView.tsx @@ -322,8 +322,7 @@ export class CollectionSchemaView extends CollectionSubView(doc => doc) { render() { library.add(faCog); library.add(faPlus); - //This can't just pass FieldValue to filter because filter passes other arguments to the passed in function, which end up as default values in FieldValue - const children = (this.children || []).filter(doc => FieldValue(doc)); + const children = this.children; return ( <div className="collectionSchemaView-container" onPointerDown={this.onPointerDown} onWheel={this.onWheel} onDrop={(e: React.DragEvent) => this.onDrop(e, {})} ref={this.createTarget}> |