Skip to content

Commit

Permalink
Fixed Bug 52993 - Added title with file extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaLopaeva committed Oct 7, 2021
1 parent b9811be commit 09406a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const FilesRowContent = ({
foldersCount,
providerKey,
access,
title,
} = item;

const withAccess = isAdmin || access === 0;
Expand All @@ -82,7 +83,7 @@ const FilesRowContent = ({
<Link
containerWidth="55%"
type="page"
title={titleWithoutExt}
title={title}
fontWeight="600"
fontSize="15px"
target="_blank"
Expand All @@ -98,7 +99,6 @@ const FilesRowContent = ({
color="#A3A9AE"
fontSize="15px"
fontWeight={600}
title={fileExst}
truncate={true}
>
{fileExst}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import Link from "@appserver/components/link";
import Text from "@appserver/components/text";

const FileNameCell = ({ item, titleWithoutExt, linkStyles }) => {
const { fileExst } = item;
const { fileExst, title } = item;
return (
<Link
type="page"
title={titleWithoutExt}
title={title}
fontWeight="600"
fontSize="13px"
{...linkStyles}
Expand All @@ -23,7 +23,6 @@ const FileNameCell = ({ item, titleWithoutExt, linkStyles }) => {
color="#A3A9AE"
fontSize="13px"
fontWeight={600}
title={fileExst}
truncate={true}
>
{fileExst}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const FilesTileContent = ({
linkStyles,
badgesComponent,
}) => {
const { fileExst } = item;
const { fileExst, title } = item;

return (
<>
Expand All @@ -92,7 +92,7 @@ const FilesTileContent = ({
className="title-link item-file-name"
containerWidth="100%"
type="page"
title={titleWithoutExt}
title={title}
fontWeight="600"
fontSize="14px"
target="_blank"
Expand All @@ -108,7 +108,6 @@ const FilesTileContent = ({
color="#A3A9AE"
fontSize="14px"
fontWeight={600}
title={fileExst}
truncate={true}
>
{fileExst}
Expand Down

0 comments on commit 09406a3

Please sign in to comment.