diff --git a/frontend/components/Sidebar.tsx b/frontend/components/Sidebar.tsx index c59fd16..aa33b11 100644 --- a/frontend/components/Sidebar.tsx +++ b/frontend/components/Sidebar.tsx @@ -74,6 +74,7 @@ const Sidebar: React.FC = ({ handleNavClick={handleNavClick} location={location} isDarkMode={isDarkMode} + openTaskModal={openTaskModal} /> void; location: Location; isDarkMode: boolean; + openTaskModal: (type?: 'simplified' | 'full') => void; } const SidebarNav: React.FC = ({ handleNavClick, location, + openTaskModal, }) => { const { t } = useTranslation(); const store = useStore(); @@ -101,13 +104,35 @@ const SidebarNav: React.FC = ({ {link.icon} {link.title} - {link.path === '/inbox' && inboxItemsCount > 0 && ( - - {inboxItemsCount > 99 - ? '99+' - : inboxItemsCount} - - )} +
+ {link.path === '/inbox' && + inboxItemsCount > 0 && ( + + {inboxItemsCount > 99 + ? '99+' + : inboxItemsCount} + + )} + {link.path === '/tasks?status=active' && ( + + )} +