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>
|
</Typography>
|
||||||
{isMemberBooking && user.membership && (
|
{isMemberBooking && user.membership && (
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p className={styles.memberNumber}>
|
<p className={styles.memberNumber} data-hj-suppress>
|
||||||
{intl.formatMessage(
|
{intl.formatMessage(
|
||||||
{
|
{
|
||||||
id: "myStay.membershipId",
|
id: "myStay.membershipId",
|
||||||
@@ -213,18 +213,18 @@ export default function GuestDetails({
|
|||||||
)}
|
)}
|
||||||
<div className={styles.contactInfoMobile}>
|
<div className={styles.contactInfoMobile}>
|
||||||
<Typography variant="Body/Supporting text (caption)/smRegular">
|
<Typography variant="Body/Supporting text (caption)/smRegular">
|
||||||
<p>{guest.email}</p>
|
<p data-hj-suppress>{guest.email}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="Body/Supporting text (caption)/smRegular">
|
<Typography variant="Body/Supporting text (caption)/smRegular">
|
||||||
<p>{guest.phoneNumber}</p>
|
<p data-hj-suppress>{guest.phoneNumber}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.contactInfoDesktop}>
|
<div className={styles.contactInfoDesktop}>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p>{guest.email}</p>
|
<p data-hj-suppress>{guest.email}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p>{guest.phoneNumber}</p>
|
<p data-hj-suppress>{guest.phoneNumber}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -124,15 +124,15 @@ export default function ModifyContact({
|
|||||||
</Typography>
|
</Typography>
|
||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
<Typography variant="Body/Paragraph/mdBold">
|
<Typography variant="Body/Paragraph/mdBold">
|
||||||
<p>
|
<p data-hj-suppress>
|
||||||
{getValues("firstName")} {getValues("lastName")}
|
{getValues("firstName")} {getValues("lastName")}
|
||||||
</p>
|
</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p>{getValues("email")}</p>
|
<p data-hj-suppress>{getValues("email")}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p>{phoneNumber}</p>
|
<p data-hj-suppress>{phoneNumber}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -135,7 +135,9 @@ export default function DigitalTeamMemberCardContent({
|
|||||||
<div className={styles.middle}>
|
<div className={styles.middle}>
|
||||||
<div className={styles.employeeNumber}>
|
<div className={styles.employeeNumber}>
|
||||||
<Typography variant="Title/sm">
|
<Typography variant="Title/sm">
|
||||||
<div>{employeeInfo?.employeeId || notAvailableText}</div>
|
<div data-hj-suppress>
|
||||||
|
{employeeInfo?.employeeId || notAvailableText}
|
||||||
|
</div>
|
||||||
</Typography>
|
</Typography>
|
||||||
<svg
|
<svg
|
||||||
width="42"
|
width="42"
|
||||||
@@ -154,7 +156,7 @@ export default function DigitalTeamMemberCardContent({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Typography variant="Title/md">
|
<Typography variant="Title/md">
|
||||||
<div>
|
<div data-hj-suppress>
|
||||||
{user.firstName} {user.lastName}
|
{user.firstName} {user.lastName}
|
||||||
</div>
|
</div>
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ export default async function MembershipCardSlot() {
|
|||||||
}
|
}
|
||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span data-hj-suppress>
|
||||||
{intl.formatMessage(
|
{intl.formatMessage(
|
||||||
{
|
{
|
||||||
id: "myPages.numberWithValue",
|
id: "myPages.numberWithValue",
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ export default async function Profile() {
|
|||||||
<p>{label}</p>
|
<p>{label}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="Body/Paragraph/mdRegular">
|
<Typography variant="Body/Paragraph/mdRegular">
|
||||||
<p>{value}</p>
|
<p data-hj-suppress>{value}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user