diff options
| author | bob <bcz@cs.brown.edu> | 2019-08-09 17:42:11 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-08-09 17:42:11 -0400 |
| commit | e291730c407932506a80f96457a84dce1820521d (patch) | |
| tree | ea1345a353c1669178fe93f77daa33bcf4ae7116 /src/client/views/collections/CollectionView.tsx | |
| parent | 915b9332ad72f56b68df148b09eecba527dc9f06 (diff) | |
made onClick a prop
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index 7a402798e..8b939259c 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -30,6 +30,10 @@ export class CollectionView extends React.Component<FieldViewProps> { public static LayoutString(fieldStr: string = "data", fieldExt: string = "") { return FieldView.LayoutString(CollectionView, fieldStr, fieldExt); } + constructor(props:any) { + super(props); + } + componentDidMount = () => { this._reactionDisposer = reaction(() => StrCast(this.props.Document.chromeStatus), () => { |
