diff --git a/.env.local.example b/.env.local.example
index fa7066f..0977cbb 100644
--- a/.env.local.example
+++ b/.env.local.example
@@ -1,3 +1,3 @@
-NEXT_PUBLIC_VERSION="0.3.8"
+NEXT_PUBLIC_VERSION="0.4.0"
NEXT_PUBLIC_API_URL="https://rms.witel.ir"
NEXT_PUBLIC_MAPTILE_ENDPOINT="https://rmsmap.rmto.ir/141map"
\ No newline at end of file
diff --git a/package.json b/package.json
index 36ec3d1..f9593c8 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,7 @@
"@mui/material": "^5.15.6",
"@mui/material-nextjs": "^5.15.6",
"@mui/x-date-pickers": "^6.19.5",
+ "@mui/x-tree-view": "^7.11.0",
"axios": "^1.7.2",
"date-fns": "^3.3.1",
"date-fns-jalali": "^2.13.0-0",
diff --git a/src/components/dashboard/inquiryPrivacyFencing/Actions/Create/index.jsx b/src/components/dashboard/inquiryPrivacyFencing/Actions/Create/index.jsx
index db8c5c0..de81370 100644
--- a/src/components/dashboard/inquiryPrivacyFencing/Actions/Create/index.jsx
+++ b/src/components/dashboard/inquiryPrivacyFencing/Actions/Create/index.jsx
@@ -1,12 +1,15 @@
"use client";
import DialogTransition from "@/core/components/DialogTransition";
import { AddCircle, Close } from "@mui/icons-material";
-import { Button, Dialog, DialogTitle, IconButton } from "@mui/material";
+import { Button, Dialog, DialogTitle, IconButton, useMediaQuery } from "@mui/material";
import CreateOrUpdateForm from "../../Forms/CreateOrUpdate";
import { SET_INQUIRE_PRIVACY_FENCING } from "@/core/utils/routes";
import { useState } from "react";
+import { useTheme } from "@emotion/react";
const InquiryPrivacyFencingCreate = ({ mutate }) => {
+ const theme = useTheme();
+ const isMobile = useMediaQuery(theme.breakpoints.down("sm"));
const [open, setOpen] = useState(false);
const handleOpen = () => {
@@ -19,11 +22,22 @@ const InquiryPrivacyFencingCreate = ({ mutate }) => {
return (
<>
- } onClick={handleOpen}>
- ایجاد پاسخ به استعلام
-
+ {isMobile ? (
+
+
+
+ ) : (
+ }
+ onClick={handleOpen}
+ >
+ ایجاد پاسخ به استعلام
+
+ )}