"In the Manage Building popup (accessed from Project > Project List, by selecting a project and navigating to Infrastructure), the error message is now correctly displayed as 'Building name is required'. A previous issue caused the message 'Expected s… #115

Merged
admin merged 2 commits from Kartik_bug#278 into Issue_May_3W 2025-05-17 10:58:14 +00:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 8295d1682f - Show all commits

View File

@ -47,7 +47,7 @@ const BuildingModel = ({
}
return () => {
setValue("name", null);
setValue("name", "");
};
}, [clearTrigger, onClearComplete, editingBuilding, project?.id]);
@ -199,3 +199,5 @@ const BuildingModel = ({
};
export default BuildingModel;

View File

@ -31,7 +31,7 @@ const InfraTable = ({ buildings }) => {
{
building: null,
floor: {
id: data.id || "0",
id: data.id || null,
floorName: data.floorName,
buildingId: data.buildingId,
},