Merged in fix/SW-2929-hotjar-suppress-confirmation (pull request #2286)

fix(SW-2929): suppress personal info on confirmation page

* fix(SW-2929): suppress personal info on confirmation page


Approved-by: Christian Andolf
This commit is contained in:
Bianca Widstam
2025-06-04 08:02:40 +00:00
committed by Linus Flood
parent b9043ce5c9
commit 0bd78bc7a6

View File

@@ -192,7 +192,7 @@ export default function Room({
</Typography> </Typography>
{booking.guest.membershipNumber ? ( {booking.guest.membershipNumber ? (
<Typography variant="Body/Paragraph/mdRegular"> <Typography variant="Body/Paragraph/mdRegular">
<p> <p data-hj-suppress>
{intl.formatMessage( {intl.formatMessage(
{ {
defaultMessage: "Friend no. {value}", defaultMessage: "Friend no. {value}",
@@ -206,12 +206,12 @@ export default function Room({
) : null} ) : null}
{booking.guest.phoneNumber ? ( {booking.guest.phoneNumber ? (
<Typography variant="Body/Paragraph/mdRegular"> <Typography variant="Body/Paragraph/mdRegular">
<p>{booking.guest.phoneNumber}</p> <p data-hj-suppress>{booking.guest.phoneNumber}</p>
</Typography> </Typography>
) : null} ) : null}
{booking.guest.email ? ( {booking.guest.email ? (
<Typography variant="Body/Paragraph/mdRegular"> <Typography variant="Body/Paragraph/mdRegular">
<p>{booking.guest.email}</p> <p data-hj-suppress>{booking.guest.email}</p>
</Typography> </Typography>
) : null} ) : null}
</div> </div>