FIX: saving profile preferences removes name in account preferences

This commit is contained in:
Neil Lalonde 2017-07-24 13:13:50 -04:00
parent 80bb127cd3
commit 25097deb39
1 changed files with 0 additions and 2 deletions

View File

@ -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');