Skip to content

Commit

Permalink
Merge pull request #30 from eHealthAfrica/fix/user
Browse files Browse the repository at this point in the history
fix: fix  new user title bug after a new user has been added
  • Loading branch information
adeolabadmus authored Mar 7, 2017
2 parents 2d78c4a + ac35a25 commit a85da20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/users/edit/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ export default AbstractEditController.extend(UserRoles, {
}
updateModel.save().then(() => {
this.displayAlert(this.get('i18n').t('messages.userSaved'), this.get('i18n').t('messages.userHasBeenSaved'));
let editTitle = this.get('i18n').t('labels.editUser');
let sectionDetails = {};
sectionDetails.currentScreenTitle = editTitle;
this.send('setSectionHeader', sectionDetails);
}).catch((error) => this.send('error', error));
}
}
Expand Down

0 comments on commit a85da20

Please # to comment.