diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-06 01:43:09 -0500 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-06 01:43:09 -0500 |
| commit | 84eea14a86265ce0585342d9f3a3c4107c02df17 (patch) | |
| tree | d72dbbed8b38ef7387c662ec37a73c9c7ac890fb /src/views/collections/CollectionSchemaView.tsx | |
| parent | f201a0689495263bb381ba738a8fb95c41c7d0f2 (diff) | |
Simplified function names in Document class
Diffstat (limited to 'src/views/collections/CollectionSchemaView.tsx')
| -rw-r--r-- | src/views/collections/CollectionSchemaView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/collections/CollectionSchemaView.tsx b/src/views/collections/CollectionSchemaView.tsx index 8503aaf1e..8817cb496 100644 --- a/src/views/collections/CollectionSchemaView.tsx +++ b/src/views/collections/CollectionSchemaView.tsx @@ -69,8 +69,8 @@ export class CollectionSchemaView extends CollectionViewBase { render() { const { DocumentForCollection: Document, CollectionFieldKey: fieldKey } = this.props; - const children = Document.GetListField<Document>(fieldKey, []); - const columns = Document.GetListField(KS.ColumnsKey, + const children = Document.GetList<Document>(fieldKey, []); + const columns = Document.GetList(KS.ColumnsKey, [KS.Title, KS.Data, KS.Author]) let content; if (this.selectedIndex != -1) { |
