diff options
| author | bob <bcz@cs.brown.edu> | 2019-06-05 14:49:35 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-06-05 14:49:35 -0400 |
| commit | 24d2e6d7d24aff60c7a3084bc5d5d660ef6b4608 (patch) | |
| tree | c1c159d543203f027d3d70aff49925c48b17d1bf /src/client/views/collections/CollectionPDFView.tsx | |
| parent | 1087133d71ef2ac7df6976c61685167ed0fe71d9 (diff) | |
PDF scroll/UI shows up only when its active now.
Diffstat (limited to 'src/client/views/collections/CollectionPDFView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionPDFView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionPDFView.tsx b/src/client/views/collections/CollectionPDFView.tsx index 25c1535b3..bf887ce7c 100644 --- a/src/client/views/collections/CollectionPDFView.tsx +++ b/src/client/views/collections/CollectionPDFView.tsx @@ -70,7 +70,7 @@ export class CollectionPDFView extends React.Component<FieldViewProps> { return ( <> <CollectionFreeFormView {...props} CollectionView={this} /> - {this.props.active() ? this.uIButtons : (null)} + {renderProps.active() ? this.uIButtons : (null)} </> ); } |
