From 31e0470c8f21825fa263d94fb43734c285eedba9 Mon Sep 17 00:00:00 2001 From: "MSI\\derek" Date: Wed, 23 Oct 2024 18:15:54 +0800 Subject: [PATCH] update --- .../NavigationContent/NavigationContent.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/NavigationContent/NavigationContent.tsx b/src/components/NavigationContent/NavigationContent.tsx index 17b427f..4d45dc1 100644 --- a/src/components/NavigationContent/NavigationContent.tsx +++ b/src/components/NavigationContent/NavigationContent.tsx @@ -163,19 +163,21 @@ const NavigationContent: React.FC = ({ abilities, username }) => { }, ], }, + // { + // icon: , + // label: "Financial Summary", + // path: "/dashboard/ProjectFinancialSummary", + // isHidden: ![VIEW_DASHBOARD_ALL, VIEW_DASHBOARD_SELF].some((ability) => + // abilities!.includes(ability), + // ), + // }, { icon: , label: "Financial Summary", - path: "/dashboard/ProjectFinancialSummary", + path: "/dashboard/ProjectFinancialSummaryV2", isHidden: ![VIEW_DASHBOARD_ALL, VIEW_DASHBOARD_SELF].some((ability) => abilities!.includes(ability), ), - }, - { - icon: , - label: "Financial Summary2", - path: "/dashboard/ProjectFinancialSummaryV2", - isHidden: true, showOnMobile: true, },