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