diff options
| author | Sam Wilkins <samuel_wilkins@brown.edu> | 2019-06-27 12:42:05 -0400 |
|---|---|---|
| committer | Sam Wilkins <samuel_wilkins@brown.edu> | 2019-06-27 12:42:05 -0400 |
| commit | 2edcde87286a4dac3e6f4dca087d6e5523b826db (patch) | |
| tree | dc96e9e16f3d8ffd7ead4997834da955b9a60f65 /src/client/views/collections/CollectionPDFView.tsx | |
| parent | a9467953c840bb38b70447861ac95731d3a62aa0 (diff) | |
| parent | 522ec4097d6f08c6a1025dac37f68152c47df339 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
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); } |
