fix: file name display inconsitent between views

This commit is contained in:
DanyLE
2022-05-30 12:13:29 +02:00
parent c26e27d7ec
commit d109d6af39
4 changed files with 14 additions and 4 deletions

View File

@ -463,9 +463,10 @@ namespace OS {
}
if(!v.text)
v.text = v.filename;
/*
if (v.text.length > 10) {
v.text = v.text.substring(0, 9) + "...";
}
}*/
v.iconclass = v.iconclass ? v.iconclass : v.type;
v.icon = v.icon;
items.push(v);