Fix Bug 57269: incorrect information in Size column
This commit is contained in:
parent
197c09e4b3
commit
75b4f06c82
@ -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),
|
||||
},
|
||||
{
|
||||
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user