Browse Source

rename folder demo

pull/1/head
farhantock 9 months ago
parent
commit
6e43a41b47
  1. 0
      src/views/SimproV2/DemoRequest/DialogForm.js
  2. 4
      src/views/SimproV2/DemoRequest/index.js

0
src/views/SimproV2/Demo/DialogForm.js → src/views/SimproV2/DemoRequest/DialogForm.js

4
src/views/SimproV2/Demo/index.js → src/views/SimproV2/DemoRequest/index.js

@ -202,7 +202,7 @@ const ProjectType = ({ params, ...props }) => {
if (type === "save") {
saveDemo(data);
} else if (type === "edit") {
editMaterialR(data);
editDemo(data);
}
setDataEdit([])
setOpenDialog(false)
@ -221,7 +221,7 @@ const ProjectType = ({ params, ...props }) => {
}
}
const editMaterialR = async (data) => {
const editDemo = async (data) => {
let urlEdit = DEMO_MANAGEMENT_EDIT(data.id)
const formData = data
const result = await axios.put(urlEdit, formData, HEADER)
Loading…
Cancel
Save