projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix problem with top level choice elements not being saved correctly.
[osm/UI.git]
/
skyquake
/
plugins
/
accounts
/
src
/
account
/
account.jsx
diff --git
a/skyquake/plugins/accounts/src/account/account.jsx
b/skyquake/plugins/accounts/src/account/account.jsx
index
b7dbf35
..
4f011cb
100644
(file)
--- a/
skyquake/plugins/accounts/src/account/account.jsx
+++ b/
skyquake/plugins/accounts/src/account/account.jsx
@@
-106,8
+106,8
@@
class Account extends React.Component {
self.props.router.push({pathname:'accounts'});
self.props.flux.actions.global.hideScreenLoader.defer();
},
self.props.router.push({pathname:'accounts'});
self.props.flux.actions.global.hideScreenLoader.defer();
},
- function() {
- self.props.flux.actions.global.showNotification(
"There was an error creating your account. Please contact your system administrator."
);
+ function(
error
) {
+ self.props.flux.actions.global.showNotification(
error
);
self.props.flux.actions.global.hideScreenLoader.defer();
});
}
self.props.flux.actions.global.hideScreenLoader.defer();
});
}