applications updates

This commit is contained in:
Jake Kasper
2025-08-29 10:38:48 -04:00
parent a9f4815f41
commit d8bd41c5d4
2 changed files with 5 additions and 4 deletions

View File

@@ -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)) {