diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-06 20:06:47 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-06 20:06:47 -0400 |
| commit | 7566ab0811a2503936f0a2e9a803db422dc1d44f (patch) | |
| tree | edb4dd5e7c19da62322bc8dff1fb10736d821c25 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | 002eb8c7cd45bf4ad3e4e1e99ccb70675029678b (diff) | |
| parent | 318f2bab4f086ce626fc3f1d099d1a09e245f95d (diff) | |
merged presentation_updates with master
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 192335abb..5b1f3c01c 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1495,19 +1495,11 @@ interface CollectionFreeFormViewPannableContentsProps { @observer class CollectionFreeFormViewPannableContents extends React.Component<CollectionFreeFormViewPannableContentsProps>{ @computed get zoomProgressivize() { - if (PresBox.Instance) return ( - <> - {this.props.zoomProgressivize ? PresBox.Instance.zoomProgressivizeContainer : (null)} - </> - ); + return PresBox.Instance && this.props.zoomProgressivize ? PresBox.Instance.zoomProgressivizeContainer : (null); } @computed get progressivize() { - if (PresBox.Instance) return ( - <> - {this.props.progressivize ? PresBox.Instance.progressivizeChildDocs : (null)} - </> - ); + return PresBox.Instance && this.props.progressivize ? PresBox.Instance.progressivizeChildDocs : (null); } @computed get presPaths() { |
