filemanager: further fix the current folder entry

This commit is contained in:
Johannes Zellner
2023-06-22 18:11:05 +02:00
parent c3778f94c4
commit 148a189bb2
+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-1];
if (tmp.length >= 1 && tmp[tmp.length-1]) name = tmp[tmp.length-1];
this.activeDirectoryItem = {
id: name,