Merged in fix/SW-2180-room-title (pull request #2028)
Fix(SW-2180): Hide empty brackets next to room title * fix(SW-2180): hide text when no value Approved-by: Christian Andolf
This commit is contained in:
@@ -69,8 +69,8 @@ export default function SelectedRoom() {
|
|||||||
{
|
{
|
||||||
roomType: room.roomType,
|
roomType: room.roomType,
|
||||||
rateDescription: room.cancellationText,
|
rateDescription: room.cancellationText,
|
||||||
rate: (str) => {
|
rate: ([str]) => {
|
||||||
return <span className={styles.rate}>{str}</span>
|
return str ? <span className={styles.rate}>{str}</span> : null
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user