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:
@@ -198,7 +198,7 @@ const sidebarMenu = [
|
|||||||
route: "/dashboard/refahi/loan-followup",
|
route: "/dashboard/refahi/loan-followup",
|
||||||
icon: <GavelIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <GavelIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
selected: false,
|
selected: false,
|
||||||
permissions: ["manage_vezarat_eghtesad_loans"],
|
permissions: ["manage_vezarat_eghtesad_loans_refahi"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "sidebar.refahi-loan-management",
|
key: "sidebar.refahi-loan-management",
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export async function getServerSideProps({ req, locale }) {
|
|||||||
title: "Dashboard.loan_followup",
|
title: "Dashboard.loan_followup",
|
||||||
isBot,
|
isBot,
|
||||||
locale,
|
locale,
|
||||||
layout: { name: "DashboardLayout", props: { permissions: ["manage_vezarat_eghtesad_loans"] } },
|
layout: { name: "DashboardLayout", props: { permissions: ["manage_vezarat_eghtesad_loans_refahi"] } },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user