diff options
| author | tschicke-brown <tyler_schicke@brown.edu> | 2019-03-02 23:03:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-02 23:03:24 -0500 |
| commit | f1be2fc29ea59c05a3ece851df3ed72adb07a0c2 (patch) | |
| tree | 705f4e7ba6e8e6301aded2f7e8c6d4c0cc42295c /src/client/views/collections/CollectionView.tsx | |
| parent | 979da9061b6e6cab1f82a316387cb2db1c1eaefb (diff) | |
| parent | e7955efcfa18c5cb03066217c3e228c2e46786be (diff) | |
Merge pull request #17 from browngraphicslab/navigation
Navigation
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index f938d2237..eb502f611 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -1,4 +1,4 @@ -import { action, computed, observable } from "mobx"; +import { action } from "mobx"; import { observer } from "mobx-react"; import { Document } from "../../../fields/Document"; import { ListField } from "../../../fields/ListField"; @@ -30,7 +30,7 @@ export class CollectionView extends React.Component<CollectionViewProps> { public static LayoutString(fieldKey: string = "DataKey") { return `<CollectionView Document={Document} ScreenToLocalTransform={ScreenToLocalTransform} fieldKey={${fieldKey}} panelWidth={PanelWidth} panelHeight={PanelHeight} isSelected={isSelected} select={select} bindings={bindings} - isTopMost={isTopMost} SelectOnLoad={selectOnLoad} BackgroundView={BackgroundView} />`; + isTopMost={isTopMost} SelectOnLoad={selectOnLoad} BackgroundView={BackgroundView} focus={focus}/>`; } public active = () => { var isSelected = this.props.isSelected(); |
