mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-27 11:10:10 +00:00
update view pdf file page (#6966)
hide print button if can not download
This commit is contained in:
parent
801b473b5d
commit
096e9cb9fd
@ -117,7 +117,7 @@ class FileToolbar extends React.Component {
|
||||
return (
|
||||
<Fragment>
|
||||
<div className="d-none d-md-flex justify-content-between align-items-center flex-shrink-0 ml-4">
|
||||
{fileType == 'PDF' && (
|
||||
{(fileType == 'PDF' && canDownloadFile ) && (
|
||||
<IconButton
|
||||
id="seafile-pdf-print"
|
||||
icon="print"
|
||||
|
Loading…
Reference in New Issue
Block a user