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

[shared dir view] update

This commit is contained in:
llj
2022-01-11 13:40:58 +08:00
committed by lian
parent 5d2a64bb2b
commit 3090487558

View File

@@ -12,7 +12,6 @@ import ModalPortal from './components/modal-portal';
import ZipDownloadDialog from './components/dialog/zip-download-dialog'; import ZipDownloadDialog from './components/dialog/zip-download-dialog';
import ImageDialog from './components/dialog/image-dialog'; import ImageDialog from './components/dialog/image-dialog';
import FileUploader from './components/shared-link-file-uploader/file-uploader'; import FileUploader from './components/shared-link-file-uploader/file-uploader';
import SaveSharedDirDialog from './components/dialog/save-shared-dir-dialog'; import SaveSharedDirDialog from './components/dialog/save-shared-dir-dialog';
import './css/shared-dir-view.css'; import './css/shared-dir-view.css';
@@ -387,8 +386,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 === '/' ? dirPath : dirPath.replace(/\/+$/, "")} path={dirPath === '/' ? dirPath : dirPath.replace(/\/+$/, '')}
relativePath={relativePath === '/' ? relativePath : relativePath.replace(/\/+$/, "")} relativePath={relativePath === '/' ? relativePath : relativePath.replace(/\/+$/, '')}
repoID={repoID} repoID={repoID}
onFileUploadSuccess={this.onFileUploadSuccess} onFileUploadSuccess={this.onFileUploadSuccess}
/> />