mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 17:02:47 +00:00
repair shared upload link bug
This commit is contained in:
@@ -310,8 +310,8 @@ class SharedDirView extends React.Component {
|
|||||||
ref={uploader => this.uploader = uploader}
|
ref={uploader => this.uploader = uploader}
|
||||||
dragAndDrop={false}
|
dragAndDrop={false}
|
||||||
token={token}
|
token={token}
|
||||||
path={dirPath.replace(/\/+$/, "")}
|
path={dirPath === '/' ? dirPath : dirPath.replace(/\/+$/, "")}
|
||||||
relativePath={relativePath.replace(/\/+$/, "")}
|
relativePath={relativePath === '/' ? relativePath : relativePath.replace(/\/+$/, "")}
|
||||||
repoID={repoID}
|
repoID={repoID}
|
||||||
onFileUploadSuccess={this.onFileUploadSuccess}
|
onFileUploadSuccess={this.onFileUploadSuccess}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user