filemanager: set correct name for activeDirectory

This commit is contained in:
Johannes Zellner
2023-06-22 15:51:24 +02:00
parent b7fbffcb42
commit c3778f94c4
+1 -1
View File
@@ -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-2];
if (tmp.length > 1) name = tmp[tmp.length-1];
this.activeDirectoryItem = {
id: name,