FIX: saving profile preferences removes name in account preferences
This commit is contained in:
parent
80bb127cd3
commit
25097deb39
|
@ -47,8 +47,6 @@ export default Ember.Controller.extend(PreferencesTabController, {
|
|||
const model = this.get('model'),
|
||||
userFields = this.get('userFields');
|
||||
|
||||
model.set('name', this.get('newNameInput'));
|
||||
|
||||
// Update the user fields
|
||||
if (!Ember.isEmpty(userFields)) {
|
||||
const modelFields = model.get('user_fields');
|
||||
|
|
Loading…
Reference in New Issue