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: {{ 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) }}{{ 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' }}