Skip to content

Commit

Permalink
fix(components): CardEmptyCover: add "application" case. HeaderDropdo…
Browse files Browse the repository at this point in the history
…wn restore description

fix(AssetBooknmarkIcon): align with the new bookmark icon

---------

Ticket: task/MainLibrary-92
Reviewed-by: @MIGUELez11
Refs: #154
  • Loading branch information
fermarinsanchez authored May 8, 2024
1 parent 0ff9d58 commit 86164dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
4 changes: 4 additions & 0 deletions packages/components/src/misc/CardEmptyCover/CardEmptyCover.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ const CardEmptyCover = memo(({ icon, fileType, height }) => {
key: 'file',
value: <FileIcon height={18} width={18} color={'#878D96'} />,
},
{
key: 'application',
value: <FileIcon height={18} width={18} color={'#878D96'} />,
},
];

const styledIcon = useMemo(() => {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/leemons/src/common/HeaderDropdown/HeaderDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const HeaderDropdown = ({
{item?.label}
</Text>
</TextClamp>
{/* {item?.description ? (
{item?.description ? (
<TextClamp lines={1} maxLines={1}>
<Text
className={classes.itemComponentDescription}
Expand All @@ -111,7 +111,7 @@ const HeaderDropdown = ({
{item?.description}
</Text>
</TextClamp>
) : null} */}
) : null}
</Box>
</Box>
<Box className={classes.itemComponentIcon}>
Expand Down

0 comments on commit 86164dc

Please sign in to comment.