Fixes missing locations (#1257)
This commit is contained in:
		
							parent
							
								
									e8af9110a7
								
							
						
					
					
						commit
						7e6628e3ac
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -208,7 +208,7 @@ const BookingPage = (props: BookingPageProps) => { | ||||||
|       language: i18n.language, |       language: i18n.language, | ||||||
|       rescheduleUid, |       rescheduleUid, | ||||||
|       user: router.query.user, |       user: router.query.user, | ||||||
|       location: getLocationValue(booking), |       location: getLocationValue(booking.locationType ? booking : { locationType: selectedLocation }), | ||||||
|       metadata, |       metadata, | ||||||
|       customInputs: Object.keys(booking.customInputs || {}).map((inputId) => ({ |       customInputs: Object.keys(booking.customInputs || {}).map((inputId) => ({ | ||||||
|         // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
 |         // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
 | ||||||
|  | @ -278,7 +278,7 @@ const BookingPage = (props: BookingPageProps) => { | ||||||
|                 {selectedLocation === LocationType.InPerson && ( |                 {selectedLocation === LocationType.InPerson && ( | ||||||
|                   <p className="mb-2 text-gray-500"> |                   <p className="mb-2 text-gray-500"> | ||||||
|                     <LocationMarkerIcon className="inline-block w-4 h-4 mr-1 -mt-1" /> |                     <LocationMarkerIcon className="inline-block w-4 h-4 mr-1 -mt-1" /> | ||||||
|                     {locationInfo(selectedLocation).address} |                     {getLocationValue({ locationType: selectedLocation })} | ||||||
|                   </p> |                   </p> | ||||||
|                 )} |                 )} | ||||||
|                 <p className="mb-4 text-green-500"> |                 <p className="mb-4 text-green-500"> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Alex van Andel
						Alex van Andel