mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 01:12:03 +00:00
Pdf viewer (#5574)
* [pdf viewer] use the latest PDFjs(v3.8.162) * [pdf viewer] redesigned it: added side panel(thumbnail panel) and bottom bar(includes side panel toggle, 'file page manager', and 'zoom manager') * [pdf file view] added 'print' to the top-right toolbar
This commit is contained in:
@@ -10,7 +10,7 @@ const { err } = window.shared.pageOptions;
|
||||
|
||||
class SharedFileViewPDF extends React.Component {
|
||||
render() {
|
||||
return <SharedFileView content={<FileContent />} />;
|
||||
return <SharedFileView content={<FileContent />} fileType="pdf" />;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user