mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
Always show file size
The file size is always present and not updated in the background
This commit is contained in:
@@ -88,7 +88,7 @@ class FileTreeLeaf extends React.Component<Props> {
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{this.createFileIcon(file)}</td>
|
<td>{this.createFileIcon(file)}</td>
|
||||||
<MinWidthTd className="is-word-break">{this.createFileName(file)}</MinWidthTd>
|
<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>
|
<td className="is-hidden-mobile">{this.contentIfPresent(file, <DateFromNow date={file.lastModified} />)}</td>
|
||||||
<MinWidthTd className={classNames("is-word-break", "is-hidden-mobile")}>
|
<MinWidthTd className={classNames("is-word-break", "is-hidden-mobile")}>
|
||||||
{this.contentIfPresent(file, file.description)}
|
{this.contentIfPresent(file, file.description)}
|
||||||
|
|||||||
Reference in New Issue
Block a user