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