X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=skyquake%2Fplugins%2Faccounts%2Fsrc%2Faccount%2Faccount.jsx;h=41a3046ab57c5bedb11aabd224fe40764e33127a;hb=1fbd77740b73f48dfcad1122a934e67b20ad5e44;hp=4f011cb1ae7053979f131b05d72155b749c4650a;hpb=7d4f9d996741de733e168ff9e1a07770fdbac82a;p=osm%2FUI.git diff --git a/skyquake/plugins/accounts/src/account/account.jsx b/skyquake/plugins/accounts/src/account/account.jsx index 4f011cb1a..41a3046ab 100644 --- a/skyquake/plugins/accounts/src/account/account.jsx +++ b/skyquake/plugins/accounts/src/account/account.jsx @@ -23,6 +23,7 @@ import SkyquakeComponent from 'widgets/skyquake_container/skyquakeComponent.jsx' import Crouton from 'react-crouton'; import TextInput from 'widgets/form_controls/textInput.jsx'; import {AccountConnectivityStatus} from '../account_sidebar/accountSidebar.jsx'; +import Utils from 'utils/utils.js'; import 'style/common.scss'; import './account.scss'; class Account extends React.Component { @@ -107,7 +108,7 @@ class Account extends React.Component { self.props.flux.actions.global.hideScreenLoader.defer(); }, function(error) { - self.props.flux.actions.global.showNotification(error); + self.props.flux.actions.global.showNotification(Utils.parseError(error)); self.props.flux.actions.global.hideScreenLoader.defer(); }); }