Merged in fix/hotjar-suppress (pull request #3211)
Fix/hotjar suppress * fix(hotjar): suppress personal info on my pages * fix(hotjar): suppress more data Approved-by: Linus Flood
This commit is contained in:
@@ -198,7 +198,7 @@ export default function GuestDetails({
|
||||
</Typography>
|
||||
{isMemberBooking && user.membership && (
|
||||
<Typography variant="Body/Paragraph/mdRegular">
|
||||
<p className={styles.memberNumber}>
|
||||
<p className={styles.memberNumber} data-hj-suppress>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "myStay.membershipId",
|
||||
@@ -213,18 +213,18 @@ export default function GuestDetails({
|
||||
)}
|
||||
<div className={styles.contactInfoMobile}>
|
||||
<Typography variant="Body/Supporting text (caption)/smRegular">
|
||||
<p>{guest.email}</p>
|
||||
<p data-hj-suppress>{guest.email}</p>
|
||||
</Typography>
|
||||
<Typography variant="Body/Supporting text (caption)/smRegular">
|
||||
<p>{guest.phoneNumber}</p>
|
||||
<p data-hj-suppress>{guest.phoneNumber}</p>
|
||||
</Typography>
|
||||
</div>
|
||||
<div className={styles.contactInfoDesktop}>
|
||||
<Typography variant="Body/Paragraph/mdRegular">
|
||||
<p>{guest.email}</p>
|
||||
<p data-hj-suppress>{guest.email}</p>
|
||||
</Typography>
|
||||
<Typography variant="Body/Paragraph/mdRegular">
|
||||
<p>{guest.phoneNumber}</p>
|
||||
<p data-hj-suppress>{guest.phoneNumber}</p>
|
||||
</Typography>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -124,15 +124,15 @@ export default function ModifyContact({
|
||||
</Typography>
|
||||
<div className={styles.container}>
|
||||
<Typography variant="Body/Paragraph/mdBold">
|
||||
<p>
|
||||
<p data-hj-suppress>
|
||||
{getValues("firstName")} {getValues("lastName")}
|
||||
</p>
|
||||
</Typography>
|
||||
<Typography variant="Body/Paragraph/mdRegular">
|
||||
<p>{getValues("email")}</p>
|
||||
<p data-hj-suppress>{getValues("email")}</p>
|
||||
</Typography>
|
||||
<Typography variant="Body/Paragraph/mdRegular">
|
||||
<p>{phoneNumber}</p>
|
||||
<p data-hj-suppress>{phoneNumber}</p>
|
||||
</Typography>
|
||||
</div>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user