1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-27 23:56:18 +00:00

fix view file code-mirror bug (#6975)

This commit is contained in:
Michael An
2024-10-31 12:40:09 +08:00
committed by GitHub
parent 22bc1cadbe
commit 73ddd29170
2 changed files with 3 additions and 7 deletions

View File

@@ -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' && canDownloadFile ) && (
{(fileType == 'PDF' && canDownloadFile) && (
<IconButton
id="seafile-pdf-print"
icon="print"