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 {
|
.production-list-min-height {
|
||||||
min-height: 19px;
|
min-height: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#noticeable-widget {
|
||||||
|
iframe {
|
||||||
|
z-index: 2 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ export function* onSignInSuccess() {
|
|||||||
export function* signInSuccessSaga({ payload }) {
|
export function* signInSuccessSaga({ payload }) {
|
||||||
LogRocket.identify(payload.email);
|
LogRocket.identify(payload.email);
|
||||||
try {
|
try {
|
||||||
window.$crisp.push(["set", "user:email", [payload.email]]);
|
// window.$crisp.push(["set", "user:email", [payload.email]]);
|
||||||
window.$crisp.push([
|
window.$crisp.push([
|
||||||
"set",
|
"set",
|
||||||
"user:nickname",
|
"user:nickname",
|
||||||
@@ -236,6 +236,10 @@ export function* SetAuthLevelFromShopDetails({ payload }) {
|
|||||||
(a) => a.useremail === userEmail
|
(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(setAuthlevel(authRecord[0] ? authRecord[0].authlevel : 0));
|
||||||
yield put(
|
yield put(
|
||||||
updateUserDetailsSuccess(
|
updateUserDetailsSuccess(
|
||||||
|
|||||||
Reference in New Issue
Block a user