Merged in fix/SW-2197-properly-hide-benefits-badge-element (pull request #1798)
fix(SW-2197): Properly hide benefits message element when isMemberRate is false * fix(SW-2197): correct hiding of benefit text Approved-by: Christian Andolf
This commit is contained in:
@@ -41,8 +41,8 @@ export default function Room({
|
|||||||
return (
|
return (
|
||||||
<article className={styles.room}>
|
<article className={styles.room}>
|
||||||
<header className={styles.header}>
|
<header className={styles.header}>
|
||||||
<div className={styles.benefits}>
|
{booking.rateDefinition.isMemberRate ? (
|
||||||
{booking.rateDefinition.isMemberRate ? (
|
<div className={styles.benefits}>
|
||||||
<>
|
<>
|
||||||
<MaterialIcon
|
<MaterialIcon
|
||||||
color="Icon/Feedback/Success"
|
color="Icon/Feedback/Success"
|
||||||
@@ -55,8 +55,8 @@ export default function Room({
|
|||||||
})}
|
})}
|
||||||
</Caption>
|
</Caption>
|
||||||
</>
|
</>
|
||||||
) : null}
|
</div>
|
||||||
</div>
|
) : null}
|
||||||
{booking.guaranteeInfo && (
|
{booking.guaranteeInfo && (
|
||||||
<div className={styles.benefits}>
|
<div className={styles.benefits}>
|
||||||
<MaterialIcon
|
<MaterialIcon
|
||||||
|
|||||||
Reference in New Issue
Block a user