From ac35a25f6450b9a5c4f981af786caa8fc51f0c54 Mon Sep 17 00:00:00 2001 From: chima1707 Date: Tue, 7 Mar 2017 12:47:55 +0100 Subject: [PATCH] fix: fix new user title bug after a new user has been added --- app/users/edit/controller.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/users/edit/controller.js b/app/users/edit/controller.js index b2d0733f2e..84e472f01b 100644 --- a/app/users/edit/controller.js +++ b/app/users/edit/controller.js @@ -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)); } }