diff options
| author | Hannah Chow <hannah_chow@brown.edu> | 2019-03-11 23:50:04 -0400 |
|---|---|---|
| committer | Hannah Chow <hannah_chow@brown.edu> | 2019-03-11 23:50:04 -0400 |
| commit | 888dd6f51befd156b24a3c60d56d8e5823e621ad (patch) | |
| tree | b6082a04695306357c379c0dcbffd0241e18d649 /src/client/views/collections/CollectionViewBase.tsx | |
| parent | e5c0eab1b3896cf28b6f54f5893d2998b70ef9af (diff) | |
| parent | a680579f74380eb016f0ffd61b3818d0850984b5 (diff) | |
origin merged
Diffstat (limited to 'src/client/views/collections/CollectionViewBase.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionViewBase.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionViewBase.tsx b/src/client/views/collections/CollectionViewBase.tsx index b126b40a9..31c89a75d 100644 --- a/src/client/views/collections/CollectionViewBase.tsx +++ b/src/client/views/collections/CollectionViewBase.tsx @@ -130,6 +130,9 @@ export class CollectionViewBase extends React.Component<SubCollectionViewProps> if (type.indexOf("audio") !== -1) { doc = Documents.AudioDocument(path, { ...options, nativeWidth: 300, width: 300, }) } + if (type.indexOf("pdf") !== -1) { + doc = Documents.PdfDocument(path, { ...options, nativeWidth: 300, width: 300, }) + } let docs = that.props.Document.GetT(KeyStore.Data, ListField); if (docs != FieldWaiting) { if (!docs) { |
