Always show file size

The file size is always present and not updated
in the background
This commit is contained in:
Rene Pfeuffer
2019-12-17 13:03:05 +01:00
parent a61799723b
commit 45b989cd1a

View File

@@ -88,7 +88,7 @@ class FileTreeLeaf extends React.Component<Props> {
<tr>
<td>{this.createFileIcon(file)}</td>
<MinWidthTd className="is-word-break">{this.createFileName(file)}</MinWidthTd>
<td className="is-hidden-mobile">{this.contentIfPresent(file, fileSize)}</td>
<td className="is-hidden-mobile">{fileSize}</td>
<td className="is-hidden-mobile">{this.contentIfPresent(file, <DateFromNow date={file.lastModified} />)}</td>
<MinWidthTd className={classNames("is-word-break", "is-hidden-mobile")}>
{this.contentIfPresent(file, file.description)}