diff options
| author | bob <bcz@cs.brown.edu> | 2020-01-21 17:07:35 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2020-01-21 17:07:35 -0500 |
| commit | 7fffe13954ed0113bf1b2f9318518d015dc63844 (patch) | |
| tree | aa9d16371e96a98216f0d288669e56c5b143b7f5 /src/client/views/collections/CollectionView.tsx | |
| parent | 4eb5fde5f9b14d1b13c1995b9a1110347a57a582 (diff) | |
made onClick override default link follow behavior
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index a99bd29d6..430aecef4 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -91,7 +91,6 @@ export class CollectionView extends Touchable<FieldViewProps> { @observable private static _safeMode = false; public static SetSafeMode(safeMode: boolean) { this._safeMode = safeMode; } - @computed get dataDoc() { return this.props.DataDoc && this.props.Document.isTemplateField ? Doc.GetProto(this.props.DataDoc) : Doc.GetProto(this.props.Document); } @computed get extensionDoc() { return Doc.fieldExtensionDoc(this.props.Document, this.props.fieldKey); } get collectionViewType(): CollectionViewType | undefined { |
