-
{open && (
{userId}
@@ -227,11 +228,12 @@ describe("Navbar", () => {
mockUseThemeImpl = () => ({ logoUrl: null });
});
- it("should hide user dropdown on public pages", () => {
+ it("should hide user dropdown and notifications on public pages", () => {
const publicPageProps = { ...defaultProps, isPublicPage: true };
renderWithProviders();
expect(screen.queryByRole("button", { name: /open account menu/i })).not.toBeInTheDocument();
+ expect(screen.queryByRole("button", { name: /^notifications$/i })).not.toBeInTheDocument();
});
it("should handle hide new features toggle", async () => {
diff --git a/ui/litellm-dashboard/src/components/navbar.tsx b/ui/litellm-dashboard/src/components/navbar.tsx
index 5213409f8c3..7388c0f32de 100644
--- a/ui/litellm-dashboard/src/components/navbar.tsx
+++ b/ui/litellm-dashboard/src/components/navbar.tsx
@@ -169,17 +169,15 @@ const Navbar: React.FC = ({
)}
-
-
-
- {!isPublicPage && (
- <>
-
-
- >
- )}
+ {!isPublicPage && (
+
-
+ )}
{/* Dark mode toggle: keep disabled until the dashboard supports dark styles end-to-end. */}