mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 09:26:17 -05:00
Removing directory size because it is too slow.
This commit is contained in:
parent
d34dbe7229
commit
47b9d6618c
3 changed files with 1 additions and 39 deletions
|
|
@ -61,14 +61,11 @@ function Folder({folder, onFolderClick, sortData, selectedPaths, onFileClick, on
|
|||
<TableCell collapsing>
|
||||
<Checkbox checked={selectedPaths.indexOf(folder['path']) >= 0} onChange={() => onSelect(folder['path'])}/>
|
||||
</TableCell>
|
||||
<TableCell onClick={() => onFolderClick(path)} className='file-path' disabled={is_empty}>
|
||||
<TableCell onClick={() => onFolderClick(path)} className='file-path' colSpan={2} disabled={is_empty}>
|
||||
{depthIndentation(pathWithNoTrailingSlash)}
|
||||
{is_empty ? <Icon name='folder outline'/> : <Icon name='folder'/>}
|
||||
{name}
|
||||
</TableCell>
|
||||
<TableCell collapsing textAlign='right'>
|
||||
{size > 0 && humanFileSize(size)}
|
||||
</TableCell>
|
||||
</TableRow>;
|
||||
if (children) {
|
||||
// Folder has children, recursively display them.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue