filemanager: further fix the current folder entry
This commit is contained in:
@@ -377,7 +377,7 @@ export default {
|
||||
|
||||
const tmp = this.cwd.split('/').slice(1);
|
||||
let name = this.title;
|
||||
if (tmp.length > 1) name = tmp[tmp.length-1];
|
||||
if (tmp.length >= 1 && tmp[tmp.length-1]) name = tmp[tmp.length-1];
|
||||
|
||||
this.activeDirectoryItem = {
|
||||
id: name,
|
||||
|
||||
Reference in New Issue
Block a user