fix: My Computer client liệt kê folder+files, điều hướng file list đúng
This commit is contained in:
@@ -9514,8 +9514,8 @@ const MediaExplorerPanel = ({ height }) => {
|
||||
return (
|
||||
<tr key={(f.path || f.file_id || f.name) + i}
|
||||
className={`cursor-pointer hover:bg-blue-100 ${isSel ? 'file-row-selected' : ''}`}
|
||||
onClick={() => f.is_dir ? browseComputerDir(f.path) : handleSelect(f)}
|
||||
onDoubleClick={() => f.is_dir && browseComputerDir(f.path)}>
|
||||
onClick={() => f.is_dir ? browseComputerDir(f) : handleSelect(f)}
|
||||
onDoubleClick={() => f.is_dir && browseComputerDir(f)}>
|
||||
<td className="py-1 px-2"><i className={`fa-solid ${icon} mr-2`}></i>{f.name || f.original_name}</td>
|
||||
{viewMode === 'details' && <td className="py-1 px-2">{f.size_mb != null ? f.size_mb.toFixed(2) + ' MB' : (isMidi ? (f.tpqn || 'MIDI') + ' TPQN' : '-')}</td>}
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user