From 7c77d243b929a29b43cf6fcc1e40291289e6fdfe Mon Sep 17 00:00:00 2001 From: "MSI\\derek" Date: Thu, 7 Nov 2024 13:43:46 +0800 Subject: [PATCH] fallback to old financial summary --- .../NavigationContent/NavigationContent.tsx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/NavigationContent/NavigationContent.tsx b/src/components/NavigationContent/NavigationContent.tsx index 4d45dc1..253b8cd 100644 --- a/src/components/NavigationContent/NavigationContent.tsx +++ b/src/components/NavigationContent/NavigationContent.tsx @@ -163,23 +163,24 @@ 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/ProjectFinancialSummaryV2", + path: "/dashboard/ProjectFinancialSummary", isHidden: ![VIEW_DASHBOARD_ALL, VIEW_DASHBOARD_SELF].some((ability) => abilities!.includes(ability), ), showOnMobile: true, }, + // { + // icon: , + // label: "Financial Summary", + // path: "/dashboard/ProjectFinancialSummaryV2", + // isHidden: ![VIEW_DASHBOARD_ALL, VIEW_DASHBOARD_SELF].some((ability) => + // abilities!.includes(ability), + // ), + // showOnMobile: true, + // }, // No Claim function in Breaur, will be implement later // {