Skip to content
Snippets Groups Projects
Commit 96eaa451 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #9898 TIME 0:15 refresh header firstname lastname after update profile

parent 8c7b16da
Branches
Tags
No related merge requests found
......@@ -754,6 +754,8 @@ export class ProfileComponent implements OnInit {
this.http.put('../../rest/currentUser/profile', this.user)
.subscribe(() => {
this.notify.success(this.lang.modificationSaved);
this.headerService.user.firstname = this.user.firstname;
this.headerService.user.lastname = this.user.lastname;
}, (err) => {
this.notify.error(err.error.errors);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment