fixed some changes in the ccode
All checks were successful
Build frontend / build (push) Successful in 1m10s

This commit is contained in:
mouazkh
2026-07-25 13:26:48 +03:00
parent 3ee4a93365
commit b4bb3ec279
2 changed files with 3 additions and 3 deletions

View File

@ -680,7 +680,7 @@ const PropertyEditModal = ({ isOpen, onClose, property, onSave }) => {
setFormData({
propertyType: property.propertyType || 'apartment',
furnished: property.furnished ?? false,
description: property.description || '',
description: property.description || details.description || '',
bedrooms: property.bedrooms || 0,
bathrooms: property.bathrooms || 0,
floor: property.floor ?? details.floorNumber ?? details.floor ?? 0,
@ -1620,7 +1620,7 @@ export default function OwnerPropertiesPage() {
formData.currencyId || property.currencyId || 1,
rentType: rentTypeMap[formData.rentType] ?? 0,
type: formData.furnished ? 0 : 1,
allowedPaymentPeriod: formData.allowedPaymentPeriod || '',
allowedPaymentPeriod: formData.allowedPaymentPeriod || '1.00:00:00',
});
await editRentProperty(property.id, payload);
} else {