feat: remove street from hotel address in sidebar
addresses #869bwq1vh
This commit is contained in:
@@ -189,7 +189,7 @@ class BookingSummaryDataService
|
||||
}
|
||||
|
||||
$countryName = $this->countryDataProvider->get($hotel->country)?->name;
|
||||
$parts = array_filter([$hotel->street, $hotel->city, $countryName]);
|
||||
$parts = array_filter([$hotel->city, $countryName]);
|
||||
|
||||
return [] === $parts ? null : implode("\n", $parts);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user