diff options
| author | tschicke-brown <tyler_schicke@brown.edu> | 2019-06-26 22:23:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-26 22:23:57 -0400 |
| commit | 68a71ec1af52e1e23374c2062c9f809e5fc905d6 (patch) | |
| tree | c069375095fb53990dc53e7069f754990aec77af /src/client/views/collections/CollectionPDFView.tsx | |
| parent | deb85766ac5648cc8e3ab4bf9d182ac5bbbbe144 (diff) | |
| parent | 1e85e70295aedce1e1e82475e931084c08243c25 (diff) | |
Merge pull request #172 from browngraphicslab/pdf_snippet
Expanded PDF Capabilities
Diffstat (limited to 'src/client/views/collections/CollectionPDFView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionPDFView.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionPDFView.tsx b/src/client/views/collections/CollectionPDFView.tsx index b2d016934..31a73ab36 100644 --- a/src/client/views/collections/CollectionPDFView.tsx +++ b/src/client/views/collections/CollectionPDFView.tsx @@ -43,6 +43,10 @@ export class CollectionPDFView extends React.Component<FieldViewProps> { ); } + componentWillUnmount() { + this._reactionDisposer && this._reactionDisposer(); + } + public static LayoutString(fieldKey: string = "data") { return FieldView.LayoutString(CollectionPDFView, fieldKey); } |
