From 63a3e070c5ca7bf3b54c9f2c77c65dece1cc5489 Mon Sep 17 00:00:00 2001 From: Binni Goel <41873024+droidbg@users.noreply.github.com> Date: Fri, 25 Oct 2024 20:41:08 +0530 Subject: [PATCH] [#8058 | 6741] Fix. showing icon on hover (#8061) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### 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 --- .../src/modules/ui/field/display/components/CurrencyDisplay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/ui/field/display/components/CurrencyDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/CurrencyDisplay.tsx index f2af5ae75..a246395b6 100644 --- a/packages/twenty-front/src/modules/ui/field/display/components/CurrencyDisplay.tsx +++ b/packages/twenty-front/src/modules/ui/field/display/components/CurrencyDisplay.tsx @@ -40,7 +40,7 @@ export const CurrencyDisplay = ({ currencyValue }: CurrencyDisplayProps) => { return ( - {isDefined(CurrencyIcon) && ( + {isDefined(CurrencyIcon) && amountToDisplay !== null && ( <>