fixed bug

This commit is contained in:
AmirHossein Mahmoodi
2025-09-06 09:17:37 +03:30
parent 0cfe235fd4
commit 0754316c79
2 changed files with 2 additions and 2 deletions

View File

@@ -211,7 +211,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",

View File

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