IO-1140 Crisp will only set email for valid emails & release notes styles updates.
This commit is contained in:
@@ -118,3 +118,9 @@
|
||||
.production-list-min-height {
|
||||
min-height: 19px;
|
||||
}
|
||||
|
||||
#noticeable-widget {
|
||||
iframe {
|
||||
z-index: 2 !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ export function* onSignInSuccess() {
|
||||
export function* signInSuccessSaga({ payload }) {
|
||||
LogRocket.identify(payload.email);
|
||||
try {
|
||||
window.$crisp.push(["set", "user:email", [payload.email]]);
|
||||
// window.$crisp.push(["set", "user:email", [payload.email]]);
|
||||
window.$crisp.push([
|
||||
"set",
|
||||
"user:nickname",
|
||||
@@ -236,6 +236,10 @@ export function* SetAuthLevelFromShopDetails({ payload }) {
|
||||
(a) => a.useremail === userEmail
|
||||
);
|
||||
|
||||
if (authRecord[0] && authRecord[0].user.validemail) {
|
||||
window.$crisp.push(["set", "user:email", [authRecord[0].user.email]]);
|
||||
}
|
||||
|
||||
yield put(setAuthlevel(authRecord[0] ? authRecord[0].authlevel : 0));
|
||||
yield put(
|
||||
updateUserDetailsSuccess(
|
||||
|
||||
Reference in New Issue
Block a user