From 18d74cddff5ffa68e9e848a35ceccbcda7f0873b Mon Sep 17 00:00:00 2001 From: Andreas Knuth Date: Fri, 12 Jun 2026 17:06:21 -0500 Subject: [PATCH] fix --- .../details-business-listing.component.html | 6 +++--- .../details-commercial-property-listing.component.html | 6 +++--- .../business-listings/business-listings.component.html | 6 +++--- .../commercial-property-listings.component.html | 4 ++-- .../pages/subscription/favorites/favorites.component.html | 8 ++++---- .../subscription/my-listing/my-listing.component.html | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.html b/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.html index c9fe4a5..99b6e15 100644 --- a/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.html +++ b/bizmatch/src/app/pages/details/details-business-listing/details-business-listing.component.html @@ -99,7 +99,7 @@ -
+

Location Map

Location: - {{ related.location.name || related.location.county }}, {{ - selectOptions.getState(related.location.state) }} + {{ related.location ? (related.location.name || related.location.county) : '—' }}, {{ + selectOptions.getState(related.location?.state) }}
diff --git a/bizmatch/src/app/pages/details/details-commercial-property-listing/details-commercial-property-listing.component.html b/bizmatch/src/app/pages/details/details-commercial-property-listing/details-commercial-property-listing.component.html index 8348244..b4da91f 100644 --- a/bizmatch/src/app/pages/details/details-commercial-property-listing/details-commercial-property-listing.component.html +++ b/bizmatch/src/app/pages/details/details-commercial-property-listing/details-commercial-property-listing.component.html @@ -100,7 +100,7 @@
-
+

Location Map

Location: - {{ related.location.name || related.location.county }}, {{ - selectOptions.getState(related.location.state) }} + {{ related.location ? (related.location.name || related.location.county) : '—' }}, {{ + selectOptions.getState(related.location?.state) }}
diff --git a/bizmatch/src/app/pages/listings/business-listings/business-listings.component.html b/bizmatch/src/app/pages/listings/business-listings/business-listings.component.html index eadf7e1..dd025dc 100644 --- a/bizmatch/src/app/pages/listings/business-listings/business-listings.component.html +++ b/bizmatch/src/app/pages/listings/business-listings/business-listings.component.html @@ -95,7 +95,7 @@
- {{ selectOptions.getState(listing.location.state) }} + {{ selectOptions.getState(listing.location?.state) }} @if (getListingBadge(listing); as badge) { @@ -127,8 +127,8 @@ }}

- Location: {{ listing.location.name ? listing.location.name : listing.location.county ? - listing.location.county : this.selectOptions.getState(listing.location.state) }} + Location: {{ listing.location ? (listing.location.name ? listing.location.name : listing.location.county ? + listing.location.county : selectOptions.getState(listing.location.state)) : '—' }}

Years established: {{ listing.established }}

@if(listing.imageName) { diff --git a/bizmatch/src/app/pages/listings/commercial-property-listings/commercial-property-listings.component.html b/bizmatch/src/app/pages/listings/commercial-property-listings/commercial-property-listings.component.html index b6e0221..305e58a 100644 --- a/bizmatch/src/app/pages/listings/commercial-property-listings/commercial-property-listings.component.html +++ b/bizmatch/src/app/pages/listings/commercial-property-listings/commercial-property-listings.component.html @@ -61,7 +61,7 @@ > {{ selectOptions.getCommercialProperty(listing.type) }}
- {{ selectOptions.getState(listing.location.state) }} + {{ selectOptions.getState(listing.location?.state) }}

{{ getDaysListed(listing) }} days listed

@@ -72,7 +72,7 @@ Draft } -

{{ listing.location.name ? listing.location.name : listing.location.county }}

+

{{ listing.location ? (listing.location.name ? listing.location.name : listing.location.county) : '—' }}

{{ listing.price | currency : 'USD' : 'symbol' : '1.0-0' }}