-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(office): Preview PDF rep if using internet explorer #1416
Conversation
4c5ffbb
to
49f9697
Compare
6b3b6a1
to
48a02ed
Compare
src/lib/viewers/doc/DocBaseViewer.js
Outdated
@@ -377,6 +379,14 @@ class DocBaseViewer extends BaseViewer { | |||
this.showPreload(); | |||
|
|||
const template = this.options.representation.content.url_template; | |||
const { extension } = this.options.file; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this.options.file
always defined as an object? Should we move this logic to DocumentViewer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like it is always passed into the viewer options:
box-content-preview/src/lib/Preview.js
Line 1211 in 19722e6
file: this.file, |
acafa27
to
6b03bec
Compare
TODO