diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-03-17 23:11:02 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-03-17 23:11:02 -0400 |
| commit | deb800519c2bf060d1d39056120305de2d30a4bb (patch) | |
| tree | 8d9cc83a807b99637302d75c87e9224094146fc4 /src/client/views/collections/CollectionView.tsx | |
| parent | 196c991ac857c8df4ddc5458c58c2f69169d5768 (diff) | |
| parent | 405a47781d73a64b8e452ed5cae6e8fbd0e3cf0e (diff) | |
Merge branch 'master' into schema_columns
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index d9b2722a6..40acf466e 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -55,7 +55,7 @@ export class CollectionView extends React.Component<CollectionViewProps> { const value = props.Document.GetData(props.fieldKey, ListField, new Array<Document>()) value.push(doc); } else { - props.Document.SetData(props.fieldKey, [doc], ListField); + props.Document.SetOnPrototype(props.fieldKey, new ListField([doc])); } } |
