diff options
| author | srichman333 <sarah_n_richman@brown.edu> | 2023-07-17 15:07:28 -0400 |
|---|---|---|
| committer | srichman333 <sarah_n_richman@brown.edu> | 2023-07-17 15:07:28 -0400 |
| commit | 56c2063deb32302b58044181c9f3248da409bf13 (patch) | |
| tree | 86ff74785b11b85f79c37853d143ed436854f598 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | 84b3012d81b403c4a2a7e7517f4fdfe727464a57 (diff) | |
| parent | 54547a9e69726bbacf545296d84723f902ec7097 (diff) | |
Merge branch 'master' into data-visualization-sarah
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 4cd3885f5..d78a0e781 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -180,7 +180,7 @@ export class CollectionTreeView extends CollectionSubView<Partial<collectionTree const doAddDoc = (doc: Doc | Doc[]) => (doc instanceof Doc ? [doc] : doc).reduce((flg, doc) => { const res = flg && Doc.AddDocToList(this.doc[DocData], this.props.fieldKey, doc, relativeTo, before); - res && (doc.embedContainer = this.props.Document); + res && Doc.SetContainer(doc, this.props.Document); return res; }, true); if (this.doc.resolvedDataDoc instanceof Promise) return false; |
