From 61d398a833d9c213f21ce9b00c6fd8e4b46429a3 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 23 Feb 2025 23:21:20 +0000 Subject: fix: Add missing list to PWA. Fixes #884 --- apps/web/app/dashboard/layout.tsx | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'apps/web') diff --git a/apps/web/app/dashboard/layout.tsx b/apps/web/app/dashboard/layout.tsx index 17a7c144..272979f3 100644 --- a/apps/web/app/dashboard/layout.tsx +++ b/apps/web/app/dashboard/layout.tsx @@ -7,7 +7,14 @@ import { Separator } from "@/components/ui/separator"; import { api } from "@/server/api/client"; import { getServerAuthSession } from "@/server/auth"; import { TFunction } from "i18next"; -import { Archive, Highlighter, Home, Search, Tag } from "lucide-react"; +import { + Archive, + ClipboardList, + Highlighter, + Home, + Search, + Tag, +} from "lucide-react"; import serverConfig from "@hoarder/shared/config"; @@ -58,6 +65,15 @@ export default async function Dashboard({ }, ].flat(); + const mobileSidebar = (t: TFunction) => [ + ...items(t), + { + name: t("lists.all_lists"), + icon: , + path: "/dashboard/lists", + }, + ]; + return ( } - mobileSidebar={} + mobileSidebar={} modal={modal} > {children} -- cgit v1.2.3-70-g09d2