diff --git a/web/src/components/explorer.js b/web/src/components/explorer.js index 28df000..36080df 100644 --- a/web/src/components/explorer.js +++ b/web/src/components/explorer.js @@ -23,7 +23,8 @@ function FileBrowser(props) { dataIndex: 'size', ellipsis: true, width: 60, - renderText: (size, file) => file.type === 0 || size > 0 ? formatSize(size) : '-' + // only display file size when it is a file or disk + renderText: (size, file) => file.type !== 1 ? formatSize(size) : '-' }, { key: 'Time',