Feature/safety and privacy operator
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
"use client";
|
||||
import PageLoading from "@/core/components/PageLoading";
|
||||
|
||||
const Loading = () => {
|
||||
return <PageLoading />;
|
||||
};
|
||||
export default Loading;
|
||||
20
src/app/(withAuth)/dashboard/road-safety/operator/page.js
Normal file
20
src/app/(withAuth)/dashboard/road-safety/operator/page.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import WithPermission from "@/core/middlewares/withPermission";
|
||||
import OperatorPage from "@/components/dashboard/roadSafety/operator";
|
||||
// import ActivityCodeLog from "@/core/components/ActivityCodeLog";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
<WithPermission
|
||||
permission_name={[
|
||||
"show-safety-and-privacy-operator-cartable",
|
||||
"show-safety-and-privacy-operator-cartable-province",
|
||||
"show-safety-and-privacy-operator-cartable-edarate-shahri",
|
||||
]}
|
||||
>
|
||||
<OperatorPage />
|
||||
{/*<ActivityCodeLog activity_code={1145} />*/}
|
||||
</WithPermission>
|
||||
);
|
||||
};
|
||||
|
||||
export default Page;
|
||||
Reference in New Issue
Block a user