diff --git a/products/ASC.Files/Client/src/pages/Home/InfoPanel/Body/SingleItem.js b/products/ASC.Files/Client/src/pages/Home/InfoPanel/Body/SingleItem.js index a46fc44053..5e401d98b8 100644 --- a/products/ASC.Files/Client/src/pages/Home/InfoPanel/Body/SingleItem.js +++ b/products/ASC.Files/Client/src/pages/Home/InfoPanel/Body/SingleItem.js @@ -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), }, { diff --git a/products/ASC.Files/Client/src/pages/Home/Section/Body/TableView/sub-components/SizeCell.js b/products/ASC.Files/Client/src/pages/Home/Section/Body/TableView/sub-components/SizeCell.js index d1af0f8b0b..691f3cfaac 100644 --- a/products/ASC.Files/Client/src/pages/Home/Section/Body/TableView/sub-components/SizeCell.js +++ b/products/ASC.Files/Client/src/pages/Home/Section/Body/TableView/sub-components/SizeCell.js @@ -17,13 +17,7 @@ const SizeCell = ({ t, item, sideColor }) => { title="" truncate > - {fileExst || contentLength - ? contentLength - : !providerKey - ? `${t("TitleDocuments")}: ${filesCount} / ${t( - "TitleSubfolders" - )}: ${foldersCount}` - : ""} + {fileExst || contentLength ? contentLength : "—"} ); };