diff --git a/frontend/src/pages/Properties/PropertyDetail.js b/frontend/src/pages/Properties/PropertyDetail.js index 5800dcc..ae9d4bf 100644 --- a/frontend/src/pages/Properties/PropertyDetail.js +++ b/frontend/src/pages/Properties/PropertyDetail.js @@ -481,7 +481,9 @@ const PropertyDetail = () => { name: savedSection.name, coordinates: savedSection.polygonData.coordinates[0], color: savedSection.polygonData.color, - area: savedSection.area + area: savedSection.area, + grassType: savedSection.grassType || '', + grassTypes: savedSection.grassTypes || [] }; setLawnSections(prev => [...prev, newSection]); @@ -546,7 +548,9 @@ const PropertyDetail = () => { const updatedSection = { ...editingSection, name: sectionName, - color: currentColor + color: currentColor, + grassType: editGrassTypes.join(', '), + grassTypes: [...editGrassTypes] }; setLawnSections(prev => prev.map(s => s.id === editingSection.id ? updatedSection : s));