Selected Building and Floor Should Persist While Creating Work Area and Activity (Project Infrastructure)

This commit is contained in:
Kartik Sharma 2025-09-27 12:05:04 +05:30 committed by pramod.mahajan
parent 96eb030457
commit 112e0ff798

View File

@ -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", "");
},
});