projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Accounts page enter button triggers edit on edit screen
[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
e588e74
..
b7dbf35
100644
(file)
--- a/
skyquake/plugins/accounts/src/account/account.jsx
+++ b/
skyquake/plugins/accounts/src/account/account.jsx
@@
-169,7
+169,7
@@
class Account extends React.Component {
}
evaluateSubmit = (e) => {
if (e.keyCode == 13) {
- if (this.props.
edit
) {
+ if (this.props.
params.name != 'create'
) {
this.update(e);
} else {
this.create(e);