feat: adjust select rate ui to latest design
This commit is contained in:
@@ -93,7 +93,7 @@ export function getDescription(data: RawMetadataSchema) {
|
||||
return metadata.description
|
||||
}
|
||||
if (data.hotelData) {
|
||||
return data.hotelData.hotelContent.texts.descriptions.short
|
||||
return data.hotelData.hotelContent.texts.descriptions?.short
|
||||
}
|
||||
if (data.preamble) {
|
||||
return truncateTextAfterLastPeriod(data.preamble)
|
||||
|
||||
Reference in New Issue
Block a user