diff --git a/.env.local.example b/.env.local.example index 0ce730a..874f867 100644 --- a/.env.local.example +++ b/.env.local.example @@ -1,5 +1,5 @@ NEXT_PUBLIC_API_NAME = "Loan Facilities Dashboard" -NEXT_PUBLIC_API_VERSION = "2.13.0" +NEXT_PUBLIC_API_VERSION = "2.13.1" NEXT_PUBLIC_DEFAULT_LANGUAGE = "fa" NEXT_PUBLIC_DEFAULT_DIRECTION = "rtl" diff --git a/src/core/data/sidebarMenu.jsx b/src/core/data/sidebarMenu.jsx index 8a48ea8..82058a6 100644 --- a/src/core/data/sidebarMenu.jsx +++ b/src/core/data/sidebarMenu.jsx @@ -211,7 +211,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"] } }, }, }; }