use webapp builder

This commit is contained in:
AmirHossein Mahmoodi
2023-12-18 15:37:29 +03:30
parent 390d5043a8
commit 4f2b92a0fb
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ const sidebarMenu = [
route: "/dashboard/navgan/add-request-loan",
icon: <DataSaverOnIcon sx={{width: 'inherit', height: 'inherit'}}/>,
selected: false,
permission: "can_request_a_new_loan"
permission: "can_request_navgan_loan"
},
{
key: "sidebar.followUp-loan",

View File

@@ -15,7 +15,7 @@ export async function getServerSideProps({req, locale}) {
title: "LoanRequest.loan_request_page",
isBot,
locale,
layout: {name: 'DashboardLayout'}
layout: {name: 'DashboardLayout', permissions: ["can_request_navgan_loan"]}
},
};
}