diff --git a/src/views/Parking.vue b/src/views/Parking.vue
index 80f1d3e3..7c6a78d1 100644
--- a/src/views/Parking.vue
+++ b/src/views/Parking.vue
@@ -24,23 +24,23 @@
-
+
{{ translate('Pending allocation') }}
{{ facility.orderCount }}
-
+
{{ translate('Next brokering') }}
{{ facility?.brokeringJob?.runTime ? getDateTime(facility?.brokeringJob?.runTime) : translate("Not scheduled") }}
-
+
{{ translate('Orders') }}
{{ facility.orderCount }}
-
+
{{ translate('Auto release') }}
-
+
{{ facility.description }}
@@ -207,6 +207,9 @@ export default defineComponent({
},
async fetchArchivedFacilities() {
await this.store.dispatch('facility/fetchArchivedFacilities')
+ },
+ isFacilityDescriptionAvailable(facility: any) {
+ return facility.description && !['BACKORDER', 'PRE_ORDER'].includes(facility.facilityTypeId) && facility.facilityId !== '_NA_';
}
},
setup() {