From 8ace0e0e6c1206b83d5f67739c3bb4fb84c7b7b2 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Mon, 6 Nov 2023 12:55:45 +0100 Subject: [PATCH] change(ui): bookmarks vs vault status --- frontend/app/layout/SideMenu.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/app/layout/SideMenu.tsx b/frontend/app/layout/SideMenu.tsx index 7828c3c6d..401d82708 100644 --- a/frontend/app/layout/SideMenu.tsx +++ b/frontend/app/layout/SideMenu.tsx @@ -53,6 +53,14 @@ function SideMenu(props: Props) { if (item.key === MENU.VAULT) { return { ...item, hidden: false }; } + } else { + if (item.key === MENU.VAULT) { + return { ...item, hidden: true }; + } + + if (item.key === MENU.BOOKMARKS) { + return { ...item, hidden: false }; + } } if (item.hidden) return item;