Fix Bug 57269: incorrect information in Size column

This commit is contained in:
Viktor Fomin 2022-05-20 16:40:49 +03:00
parent 197c09e4b3
commit 75b4f06c82
2 changed files with 2 additions and 8 deletions

View File

@ -127,7 +127,7 @@ const SingleItem = (props) => {
},
{
id: "Size",
title: t("Common:Size"),
title: item.fileType ? t("Common:Size") : t("Common:Content"),
content: styledText(itemSize),
},
{

View File

@ -17,13 +17,7 @@ const SizeCell = ({ t, item, sideColor }) => {
title=""
truncate
>
{fileExst || contentLength
? contentLength
: !providerKey
? `${t("TitleDocuments")}: ${filesCount} / ${t(
"TitleSubfolders"
)}: ${foldersCount}`
: ""}
{fileExst || contentLength ? contentLength : "—"}
</StyledText>
);
};