1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

fix: fileuploader display (#6761)

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-09-12 14:27:00 +08:00
committed by GitHub
parent 5bebec6aee
commit 76b3c5627c
4 changed files with 1 additions and 5 deletions

View File

@@ -2318,7 +2318,7 @@ class LibContentView extends React.Component {
getMarkDownFileName={this.getMarkDownFileName}
openMarkdownFile={this.openMarkdownFile}
/>
{canUpload && this.state.pathExist && !this.state.isViewFile && (
{canUpload && this.state.pathExist && !this.state.isViewFile && this.state.currentMode !== METADATA_MODE && (
<FileUploader
ref={uploader => this.uploader = uploader}
dragAndDrop={true}