From 6ee619337cfbb71a8209781b9dbd87c5ff73a9f2 Mon Sep 17 00:00:00 2001 From: aafaris <77536240+aafaris@users.noreply.github.com> Date: Tue, 22 Oct 2024 09:19:02 +0800 Subject: [PATCH] Update sidebar-item to include message count and datetime (#65) --- frontend/components/sidebar/sidebar-item.tsx | 21 +++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/frontend/components/sidebar/sidebar-item.tsx b/frontend/components/sidebar/sidebar-item.tsx index 1a2fafb8..1cdf9295 100644 --- a/frontend/components/sidebar/sidebar-item.tsx +++ b/frontend/components/sidebar/sidebar-item.tsx @@ -35,7 +35,7 @@ export function SidebarItem({ search: search, children }: SidebarItemProps) { }; return ( -
+
{isActive &&
{children}
}