build & format
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
// javascript for production
|
||||
// {
|
||||
// "compilerOptions": {
|
||||
// "paths": {
|
||||
// "@/*": ["./src/*"],
|
||||
// "^/*": ["./public/*"]
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// typescript for local development
|
||||
{
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
"noUnusedLocals": true,
|
||||
"noImplicitAny": false,
|
||||
"checkJs": true,
|
||||
"allowJs": true,
|
||||
"strict": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
"^/*": ["./public/*"]
|
||||
}
|
||||
},
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
}
|
||||
|
||||
// typescript for local development
|
||||
// {
|
||||
// "compilerOptions": {
|
||||
// "jsx": "react-jsx",
|
||||
// "noUnusedLocals": true,
|
||||
// "noImplicitAny": false,
|
||||
// "checkJs": true,
|
||||
// "allowJs": true,
|
||||
// "strict": true,
|
||||
// "baseUrl": ".",
|
||||
// "paths": {
|
||||
// "@/*": ["./src/*"],
|
||||
// "^/*": ["./public/*"]
|
||||
// }
|
||||
// },
|
||||
// "exclude": ["node_modules"]
|
||||
// }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import WithPermission from "@/core/middlewares/withPermission";
|
||||
import MachinesPage from "@/components/dashboard/machines"
|
||||
import MachinesPage from "@/components/dashboard/machines";
|
||||
|
||||
export const metadata = {
|
||||
title: "کارتابل ماشینها",
|
||||
@@ -7,9 +7,7 @@ export const metadata = {
|
||||
const Page = () => {
|
||||
return (
|
||||
<>
|
||||
<WithPermission
|
||||
permission_name={["all"]}
|
||||
>
|
||||
<WithPermission permission_name={["all"]}>
|
||||
<MachinesPage />
|
||||
</WithPermission>
|
||||
</>
|
||||
|
||||
@@ -682,7 +682,7 @@ export const pageMenuDev = [
|
||||
icon: <GppMaybeIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
permissions: ["manage-damage"],
|
||||
},
|
||||
{
|
||||
{
|
||||
id: "machines",
|
||||
label: "ماشینها",
|
||||
type: "page",
|
||||
|
||||
Reference in New Issue
Block a user