fix 2nd line also showing drive name #1892

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Feb 1, 2024 at 14:40 UTC e6f27fca360dffe4d5210569d8a7d12cb0732bee
1 file changed +1 -1
views/default.handlebars
+1 -1
@@ -11058,7 +11058,7 @@
11058 h = '<div class=filelist file=999>';
11059 h += '<input file=999 style=float:left name=fd class=fcb type=checkbox onchange=p13setActions() value=\'' + f.nx + '\'>&nbsp;<span style=float:right title="' + title + '">' + right + '</span>';
11060 h += '<span><div class=fileIcon' + (f.dt == 'REMOVABLE' ? 5 : (f.dt == 'CDROM' ? 6 : f.t)) + ' onclick=p13folderset("' + encodeURIComponentEx(f.nx) + '")></div><a href=# style=cursor:pointer onclick=\'return p13folderset("' + encodeURIComponentEx(f.nx) + '")\'>';
11061 - if (isWindowsNode(currentNode) && currentNode.volumes && currentNode.volumes[shortname.charAt(0).toUpperCase()] && currentNode.volumes[shortname.charAt(0).toUpperCase()].name) {
11061 + if (isWindowsNode(currentNode) && f.dt && currentNode.volumes && currentNode.volumes[shortname.charAt(0).toUpperCase()] && currentNode.volumes[shortname.charAt(0).toUpperCase()].name) {
11062 h += currentNode.volumes[shortname.charAt(0).toUpperCase()].name + " (" + shortname + ")";
11063 } else {
11064 h += shortname;