diff options
| author | Monika <monika_hedman@brown.edu> | 2019-07-01 15:39:37 -0400 |
|---|---|---|
| committer | Monika <monika_hedman@brown.edu> | 2019-07-01 15:39:37 -0400 |
| commit | c5391bf0d352f69211ba28fc263d27204d7b8dc4 (patch) | |
| tree | acbc632aff852e74015bd1c8eee4933a7565cb94 /src/client/views/collections/CollectionPDFView.tsx | |
| parent | ee4155a168dadad182719eb55df3459d6a937a45 (diff) | |
| parent | cd78d5b3371d73cc51dcb6f3dbfdca1a3bbcf6e1 (diff) | |
edits made
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); } |
