diff options
| author | yipstanley <stanley_yip@brown.edu> | 2019-06-25 13:54:20 -0400 |
|---|---|---|
| committer | yipstanley <stanley_yip@brown.edu> | 2019-06-25 13:54:20 -0400 |
| commit | e910a6cd56936234e451994c893d8592e430f828 (patch) | |
| tree | 6fb76c94d783b31c805ced48b2f1c0c54b74133b /src/client/views/collections/CollectionPDFView.tsx | |
| parent | 089aaf64964b0f1793a69ef6bf37eb2db41904af (diff) | |
pdf view specs fixes/changes
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); } |
