Selected Building and Floor Should Persist While Creating Work Area and Activity (Project Infrastructure)
This commit is contained in:
parent
1fb8eb9ef1
commit
874e0806d0
@ -50,8 +50,8 @@ const WorkAreaModel = ({ project, onSubmit, onClose }) => {
|
||||
: "Work Area created Successfully",
|
||||
"success"
|
||||
);
|
||||
reset({ id: "0", buildingId: "0", areaName: "", floorId: "0" });
|
||||
// onClose?.();
|
||||
setValue("id", "0");
|
||||
setValue("areaName", "");
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user