mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 16:31:13 +00:00
[shared dir view] update
This commit is contained in:
@@ -12,7 +12,6 @@ import ModalPortal from './components/modal-portal';
|
||||
import ZipDownloadDialog from './components/dialog/zip-download-dialog';
|
||||
import ImageDialog from './components/dialog/image-dialog';
|
||||
import FileUploader from './components/shared-link-file-uploader/file-uploader';
|
||||
|
||||
import SaveSharedDirDialog from './components/dialog/save-shared-dir-dialog';
|
||||
|
||||
import './css/shared-dir-view.css';
|
||||
@@ -387,8 +386,8 @@ class SharedDirView extends React.Component {
|
||||
ref={uploader => this.uploader = uploader}
|
||||
dragAndDrop={false}
|
||||
token={token}
|
||||
path={dirPath === '/' ? dirPath : dirPath.replace(/\/+$/, "")}
|
||||
relativePath={relativePath === '/' ? 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