mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
Modify some formatting issues
This commit is contained in:
@@ -996,8 +996,8 @@ class LibContentView extends React.Component {
|
|||||||
// else do nothing
|
// else do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
moveDirent = (direntPath, moveToDirentPath=null) => {
|
moveDirent = (direntPath, moveToDirentPath = null) => {
|
||||||
let name = direntPath.slice(direntPath.lastIndexOf('/') + 1);
|
let name = Utils.getFileName(direntPath);
|
||||||
if (moveToDirentPath === this.state.path) {
|
if (moveToDirentPath === this.state.path) {
|
||||||
this.loadDirentList(this.state.path)
|
this.loadDirentList(this.state.path)
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user