diff options
| author | monikahedman <monika_hedman@brown.edu> | 2019-08-23 18:36:56 -0400 |
|---|---|---|
| committer | monikahedman <monika_hedman@brown.edu> | 2019-08-23 18:36:56 -0400 |
| commit | c752994552be6d8a7e91093bf9d64896fd51138f (patch) | |
| tree | 0ed7ba1c9d197a3700d06b5fca4a79b1b81a3a54 /src/client/views/search | |
| parent | e138dc74aaff258e9598d65244c85f1ab0c5fb17 (diff) | |
finding all collections
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/SearchItem.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/search/SearchItem.tsx b/src/client/views/search/SearchItem.tsx index 41fc49c2e..567bc6c97 100644 --- a/src/client/views/search/SearchItem.tsx +++ b/src/client/views/search/SearchItem.tsx @@ -63,6 +63,7 @@ export class SelectorContextMenu extends React.Component<SearchItemProps> { runInAction(() => { this._docs = docs.filter(doc => !Doc.AreProtosEqual(doc, CollectionDockingView.Instance.props.Document)).map(doc => ({ col: doc, target: this.props.doc })); this._otherDocs = Array.from(map.entries()).filter(entry => !Doc.AreProtosEqual(entry[0], CollectionDockingView.Instance.props.Document)).map(([col, target]) => ({ col, target })); + }); } |
