From 1e2b785bb74c0305cd71eafe221eefe5be62bbc7 Mon Sep 17 00:00:00 2001 From: AminGhasempoor Date: Sun, 15 Jun 2025 14:10:44 +0330 Subject: [PATCH] change refahi permission --- src/core/data/sidebarMenu.jsx | 2 +- src/pages/dashboard/refahi/loan-followup/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/data/sidebarMenu.jsx b/src/core/data/sidebarMenu.jsx index 8744dc7..488638b 100644 --- a/src/core/data/sidebarMenu.jsx +++ b/src/core/data/sidebarMenu.jsx @@ -198,7 +198,7 @@ const sidebarMenu = [ route: "/dashboard/refahi/loan-followup", icon: , selected: false, - permissions: ["manage_vezarat_eghtesad_loans"], + permissions: ["manage_vezarat_eghtesad_loans_refahi"], }, { key: "sidebar.refahi-loan-management", diff --git a/src/pages/dashboard/refahi/loan-followup/index.jsx b/src/pages/dashboard/refahi/loan-followup/index.jsx index 73aa3f8..7a1206a 100644 --- a/src/pages/dashboard/refahi/loan-followup/index.jsx +++ b/src/pages/dashboard/refahi/loan-followup/index.jsx @@ -13,7 +13,7 @@ export async function getServerSideProps({ req, locale }) { title: "Dashboard.loan_followup", isBot, locale, - layout: { name: "DashboardLayout", props: { permissions: ["manage_vezarat_eghtesad_loans"] } }, + layout: { name: "DashboardLayout", props: { permissions: ["manage_vezarat_eghtesad_loans_refahi"] } }, }, }; }