From d699df999dc1d05e9010d2f02cd80b99b99c3cb1 Mon Sep 17 00:00:00 2001 From: Sam Piper Date: Tue, 16 Apr 2024 00:20:53 +0100 Subject: [PATCH] fix: me being stupid --- .../signin/dashboard/components/SignedInUserCard/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/forge/src/components/signin/dashboard/components/SignedInUserCard/index.tsx b/apps/forge/src/components/signin/dashboard/components/SignedInUserCard/index.tsx index e86090e..9869dc9 100644 --- a/apps/forge/src/components/signin/dashboard/components/SignedInUserCard/index.tsx +++ b/apps/forge/src/components/signin/dashboard/components/SignedInUserCard/index.tsx @@ -66,7 +66,7 @@ export const SignedInUserCard: React.FunctionComponent = ({ } }; - const shouldDisplayReason = true; + const shouldDisplayReason = !(reason?.name === REP_ON_SHIFT || reason?.name === REP_OFF_SHIFT); return (