[#8058 | 6741] Fix. showing icon on hover (#8061)

### What type of PR is this? (check all applicable)
- [X] Bug Fix

## Description
This PR include fix required for issue #8058 and #6741 .


- Fixes visibility of currency symbol on hover over field
- Fixes visibility of task icon symbol on hover over field


## Related Tickets & Documents
- Closes #8058 
- Closes #6741

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
Binni Goel 2024-10-25 20:41:08 +05:30 committed by GitHub
parent 016642a940
commit 63a3e070c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ export const CurrencyDisplay = ({ currencyValue }: CurrencyDisplayProps) => {
return (
<StyledEllipsisDisplay>
{isDefined(CurrencyIcon) && (
{isDefined(CurrencyIcon) && amountToDisplay !== null && (
<>
<CurrencyIcon
color={theme.font.color.primary}