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