IO-1086 confirmation on profile update.
This commit is contained in:
@@ -30465,6 +30465,32 @@
|
|||||||
</concept_node>
|
</concept_node>
|
||||||
</children>
|
</children>
|
||||||
</folder_node>
|
</folder_node>
|
||||||
|
<folder_node>
|
||||||
|
<name>successes</name>
|
||||||
|
<children>
|
||||||
|
<concept_node>
|
||||||
|
<name>updated</name>
|
||||||
|
<definition_loaded>false</definition_loaded>
|
||||||
|
<description></description>
|
||||||
|
<comment></comment>
|
||||||
|
<default_text></default_text>
|
||||||
|
<translations>
|
||||||
|
<translation>
|
||||||
|
<language>en-US</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>es-MX</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>fr-CA</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
</translations>
|
||||||
|
</concept_node>
|
||||||
|
</children>
|
||||||
|
</folder_node>
|
||||||
</children>
|
</children>
|
||||||
</folder_node>
|
</folder_node>
|
||||||
<folder_node>
|
<folder_node>
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
import Fingerprint2 from "@fingerprintjs/fingerprintjs";
|
import Fingerprint2 from "@fingerprintjs/fingerprintjs";
|
||||||
|
import { notification } from "antd";
|
||||||
|
import i18next from "i18next";
|
||||||
import LogRocket from "logrocket";
|
import LogRocket from "logrocket";
|
||||||
import { all, call, delay, put, select, takeLatest } from "redux-saga/effects";
|
import { all, call, delay, put, select, takeLatest } from "redux-saga/effects";
|
||||||
import {
|
import {
|
||||||
@@ -100,6 +102,10 @@ export function* updateUserDetails(userDetails) {
|
|||||||
try {
|
try {
|
||||||
yield updateCurrentUser(userDetails.payload);
|
yield updateCurrentUser(userDetails.payload);
|
||||||
yield put(updateUserDetailsSuccess(userDetails.payload));
|
yield put(updateUserDetailsSuccess(userDetails.payload));
|
||||||
|
notification.open({
|
||||||
|
type: "success",
|
||||||
|
message: i18next.t("profile.successes.updated"),
|
||||||
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
//yield put(signOutFailure(error.message));
|
//yield put(signOutFailure(error.message));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1825,6 +1825,9 @@
|
|||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"activeshop": "Active Shop"
|
"activeshop": "Active Shop"
|
||||||
|
},
|
||||||
|
"successes": {
|
||||||
|
"updated": "Profile updated successfully."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"reportcenter": {
|
"reportcenter": {
|
||||||
|
|||||||
@@ -1825,6 +1825,9 @@
|
|||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"activeshop": ""
|
"activeshop": ""
|
||||||
|
},
|
||||||
|
"successes": {
|
||||||
|
"updated": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"reportcenter": {
|
"reportcenter": {
|
||||||
|
|||||||
@@ -1825,6 +1825,9 @@
|
|||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"activeshop": ""
|
"activeshop": ""
|
||||||
|
},
|
||||||
|
"successes": {
|
||||||
|
"updated": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"reportcenter": {
|
"reportcenter": {
|
||||||
|
|||||||
Reference in New Issue
Block a user