From 6c8820719ecbe681bbc32519e683e1fb8057c966 Mon Sep 17 00:00:00 2001 From: Rene Pfeuffer Date: Thu, 12 Dec 2019 11:52:44 +0100 Subject: [PATCH] File size is unknown when not computed --- scm-ui/ui-webapp/src/repos/sources/components/FileTreeLeaf.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm-ui/ui-webapp/src/repos/sources/components/FileTreeLeaf.tsx b/scm-ui/ui-webapp/src/repos/sources/components/FileTreeLeaf.tsx index 037d8f7c45..9190a02dd6 100644 --- a/scm-ui/ui-webapp/src/repos/sources/components/FileTreeLeaf.tsx +++ b/scm-ui/ui-webapp/src/repos/sources/components/FileTreeLeaf.tsx @@ -88,7 +88,7 @@ class FileTreeLeaf extends React.Component { {this.createFileIcon(file)} {this.createFileName(file)} - {fileSize} + {this.contentIfPresent(file, fileSize)} {this.contentIfPresent(file, )} {this.contentIfPresent(file, file.description)}