X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Fuser_management%2Fsrc%2Fdashboard%2Fdashboard.jsx;h=70386c7ac3644618122f657dbdc038a6eedb66a5;hp=0377a54b180926c59efa8a6517b4ffee398c4687;hb=refs%2Fheads%2Fprojects;hpb=c33cde7c8824d79e9825698fe957c24dfa1fe798 diff --git a/skyquake/plugins/user_management/src/dashboard/dashboard.jsx b/skyquake/plugins/user_management/src/dashboard/dashboard.jsx index 0377a54b1..70386c7ac 100644 --- a/skyquake/plugins/user_management/src/dashboard/dashboard.jsx +++ b/skyquake/plugins/user_management/src/dashboard/dashboard.jsx @@ -114,12 +114,12 @@ class UserManagementDashboard extends React.Component { disabled: [null] } } - this.Store.createUser({ - 'user-name': this.state['user-name'], - 'user-domain': this.state['user-domain'], - 'password': this.state['new-password'] - // 'confirm-password': this.state['confirm-password'] - }); + this.Store.createUser(_.merge({ + 'user-name': this.state['user-name'], + 'user-domain': this.state['user-domain'], + 'password': this.state['new-password'] + // 'confirm-password': this.state['confirm-password'] + }, isDisabled)); } } updateUser = (e) => { @@ -224,13 +224,14 @@ class UserManagementDashboard extends React.Component { state.isEdit ? ( -