From 5e03eda05418ee40fe9403b775e412ed022996af Mon Sep 17 00:00:00 2001 From: jarellb Date: Tue, 9 Jul 2024 12:32:42 -1000 Subject: [PATCH] Fixed conditional statement for rendering of pageInfoItem.number --- ui/src/app/(home)/_components/after-login.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/(home)/_components/after-login.tsx b/ui/src/app/(home)/_components/after-login.tsx index c1e88862..e4f9e1e0 100644 --- a/ui/src/app/(home)/_components/after-login.tsx +++ b/ui/src/app/(home)/_components/after-login.tsx @@ -108,7 +108,7 @@ const AfterLogin = async () => { width={pageInfoItem.icon.width} height={pageInfoItem.icon.height} className={`mr-5 mb-4 max-w-${pageInfoItem.icon.width} h-auto`}/> - {pageInfoItem.number + {pageInfoItem.number !== null && {pageInfoItem.number}}

{pageInfoItem.title}