diff --git a/package-lock.json b/package-lock.json
index 42161b1..1815fa2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -43,7 +43,8 @@
},
"devDependencies": {
"@faker-js/faker": "^7.6.0",
- "eslint-config-next": "^13.3.0"
+ "eslint-config-next": "^13.3.0",
+ "run-script-os": "^1.1.6"
}
},
"node_modules/@babel/code-frame": {
@@ -4789,6 +4790,16 @@
"queue-microtask": "^1.2.2"
}
},
+ "node_modules/run-script-os": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/run-script-os/-/run-script-os-1.1.6.tgz",
+ "integrity": "sha512-ql6P2LzhBTTDfzKts+Qo4H94VUKpxKDFz6QxxwaUZN0mwvi7L3lpOI7BqPCq7lgDh3XLl0dpeXwfcVIitlrYrw==",
+ "dev": true,
+ "bin": {
+ "run-os": "index.js",
+ "run-script-os": "index.js"
+ }
+ },
"node_modules/rxjs": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz",
@@ -8841,6 +8852,12 @@
"queue-microtask": "^1.2.2"
}
},
+ "run-script-os": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/run-script-os/-/run-script-os-1.1.6.tgz",
+ "integrity": "sha512-ql6P2LzhBTTDfzKts+Qo4H94VUKpxKDFz6QxxwaUZN0mwvi7L3lpOI7BqPCq7lgDh3XLl0dpeXwfcVIitlrYrw==",
+ "dev": true
+ },
"rxjs": {
"version": "7.8.1",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz",
diff --git a/public/locales/fa/app.json b/public/locales/fa/app.json
index e78f16e..437cabd 100644
--- a/public/locales/fa/app.json
+++ b/public/locales/fa/app.json
@@ -270,11 +270,11 @@
"proposed_amount_positive": "مقدار پیشنهادی باید مثبت باشد"
},
"ReviseDialog": {
- "revise": "ویرایش",
+ "revise": " نیاز به ویرایش",
"description_error": "وارد کردن توضیحات الزامی است!",
"optional": " (اختیاری)",
"button-cancel": "بستن",
- "button-revise": "ویرایش",
+ "button-revise": "ارسال",
"description": "توضیحات خود را وارد نمائید"
},
"RejectDialog": {
diff --git a/src/components/dashboard/inspector-expert/Form/ReviseForm.jsx b/src/components/dashboard/inspector-expert/Form/ReviseForm.jsx
index 2661965..92e1a1e 100644
--- a/src/components/dashboard/inspector-expert/Form/ReviseForm.jsx
+++ b/src/components/dashboard/inspector-expert/Form/ReviseForm.jsx
@@ -15,7 +15,7 @@ import {useFormik} from "formik";
import * as Yup from "yup";
import {useState} from "react";
import useRequest from "@/lib/app/hooks/useRequest";
-import EditIcon from "@mui/icons-material/Edit";
+import ReplyIcon from '@mui/icons-material/Reply';
import useNotification from "@/lib/app/hooks/useNotification";
@@ -59,7 +59,7 @@ const Revise = ({rowId, fetchUrl, mutate}) => {
<>
setOpenRejectDialog(true)}>
-
+