IO-1086 confirmation on profile update.

This commit is contained in:
Patrick Fic
2021-05-27 14:11:16 -07:00
parent d91a83a137
commit 79f2c7dd3d
5 changed files with 41 additions and 0 deletions

View File

@@ -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>

View File

@@ -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));
}

View File

@@ -1825,6 +1825,9 @@
},
"labels": {
"activeshop": "Active Shop"
},
"successes": {
"updated": "Profile updated successfully."
}
},
"reportcenter": {

View File

@@ -1825,6 +1825,9 @@
},
"labels": {
"activeshop": ""
},
"successes": {
"updated": ""
}
},
"reportcenter": {

View File

@@ -1825,6 +1825,9 @@
},
"labels": {
"activeshop": ""
},
"successes": {
"updated": ""
}
},
"reportcenter": {