diff --git a/src/app/(withAuth)/dashboard/car-details/page.js b/src/app/(withAuth)/dashboard/car-details/page.js index b844158..4392b1a 100644 --- a/src/app/(withAuth)/dashboard/car-details/page.js +++ b/src/app/(withAuth)/dashboard/car-details/page.js @@ -1,7 +1,12 @@ import TestPage from "@/components/dashboard/carDetails"; +import WithPermission from "@/core/middlewares/withPermission"; const Page = () => { - return ; + return ( + + + + ); }; export default Page; diff --git a/src/components/dashboard/azmayesh/index.jsx b/src/components/dashboard/azmayesh/index.jsx index bd51c88..a7f49de 100644 --- a/src/components/dashboard/azmayesh/index.jsx +++ b/src/components/dashboard/azmayesh/index.jsx @@ -7,7 +7,7 @@ import AzmayeshList from "./AzmayeshList"; const AzmayeshPage = () => { return ( - + ); diff --git a/src/core/utils/pageMenu.js b/src/core/utils/pageMenu.js index 0eb3127..f6eb062 100644 --- a/src/core/utils/pageMenu.js +++ b/src/core/utils/pageMenu.js @@ -480,7 +480,7 @@ export const pageMenu = [ }, { id: "azmayesh", - label: "آزمایشات", + label: "آزمایشات (OPTS)", type: "page", route: "/dashboard/azmayesh", icon: , @@ -500,6 +500,6 @@ export const pageMenu = [ type: "page", route: "/dashboard/car-details", icon: , - permissions: ["all"], + permissions: [""], }, ];