fixed some changes in the ccode
All checks were successful
Build frontend / build (push) Successful in 1m10s
All checks were successful
Build frontend / build (push) Successful in 1m10s
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user