Merge branch 'bugfix/change_refahi_permission' into 'develop'

change refahi permission

See merge request witel-front-end/loan-facilities/expert-v2!26
This commit is contained in:
AmirHossein Mahmoodi
2025-06-30 05:31:16 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ const sidebarMenu = [
route: "/dashboard/refahi/loan-followup",
icon: <GavelIcon sx={{ width: "inherit", height: "inherit" }} />,
selected: false,
permissions: ["manage_vezarat_eghtesad_loans"],
permissions: ["manage_vezarat_eghtesad_loans_refahi"],
},
{
key: "sidebar.refahi-loan-management",

View File

@@ -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"] } },
},
};
}