applications updates
This commit is contained in:
@@ -168,7 +168,7 @@ const Applications = () => {
|
||||
setExecutingApplication(application);
|
||||
|
||||
// Get the property ID from the application
|
||||
const propertyId = application.property?.id || application.section?.propertyId;
|
||||
const propertyId = application.propertyId;
|
||||
|
||||
// Try to fetch property details if we have a valid property ID
|
||||
if (propertyId && (!selectedPropertyDetails || selectedPropertyDetails.id !== propertyId)) {
|
||||
@@ -192,7 +192,7 @@ const Applications = () => {
|
||||
setViewingApplication(application);
|
||||
|
||||
// Get the property ID from the application
|
||||
const propertyId = application.property?.id || application.section?.propertyId;
|
||||
const propertyId = application.propertyId;
|
||||
|
||||
// Try to fetch property details if we have a valid property ID
|
||||
if (propertyId && (!selectedPropertyDetails || selectedPropertyDetails.id !== propertyId)) {
|
||||
|
||||
Reference in New Issue
Block a user