X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Faccounts%2Fsrc%2Faccount%2Faccount.jsx;h=41a3046ab57c5bedb11aabd224fe40764e33127a;hp=4f011cb1ae7053979f131b05d72155b749c4650a;hb=ca1da3e8781d04f526bf8462887dabc1b84b95c2;hpb=0fc4b246b69ecd59401aa6c9bf921b29793d8136 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(); }); }