Web: People: Fixed displaying errors on language change
This commit is contained in:
parent
73f92d0897
commit
352ec309b8
@ -143,8 +143,8 @@ class ProfileInfo extends React.PureComponent {
|
||||
|
||||
if (profile.cultureName === language.key) return;
|
||||
|
||||
updateProfileCulture(profile.id, language.key).catch((err) =>
|
||||
console.log(err)
|
||||
updateProfileCulture(profile.id, language.key).catch((error) =>
|
||||
toastr.error(error && error.message ? error.message : error)
|
||||
);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user