feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -41,11 +41,11 @@ export default connect(
|
||||
try {
|
||||
await updateCurrentPassword(password);
|
||||
notification.success({
|
||||
message: t("user.successess.passwordchanged")
|
||||
title: t("user.successess.passwordchanged")
|
||||
});
|
||||
} catch (error) {
|
||||
notification.error({
|
||||
message: error.message
|
||||
title: error.message
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -171,13 +171,13 @@ export default connect(
|
||||
})
|
||||
.then(() => {
|
||||
notification.success({
|
||||
message: checked
|
||||
title: checked
|
||||
? t("user.labels.notification_sound_enabled")
|
||||
: t("user.labels.notification_sound_disabled")
|
||||
});
|
||||
})
|
||||
.catch((e) => {
|
||||
notification.error({ message: e.message || "Failed to update setting" });
|
||||
notification.error({ title: e.message || "Failed to update setting" });
|
||||
});
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user