mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +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}
|
||||
dragAndDrop={false}
|
||||
token={token}
|
||||
path={dirPath.replace(/\/+$/, "")}
|
||||
relativePath={relativePath.replace(/\/+$/, "")}
|
||||
path={dirPath === '/' ? dirPath : dirPath.replace(/\/+$/, "")}
|
||||
relativePath={relativePath === '/' ? relativePath : relativePath.replace(/\/+$/, "")}
|
||||
repoID={repoID}
|
||||
onFileUploadSuccess={this.onFileUploadSuccess}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user