Fixed account updating and display name for org

This commit is contained in:
piratefinn 2017-09-04 17:26:01 +01:00
parent 7bdcc5fb7e
commit 098b93f837
4 changed files with 37 additions and 3 deletions

View file

@ -41,7 +41,7 @@ export class FeedbackComponent {
this.feedbackForm.patchValue({
email: result.email,
});
this.api.setUserInfo( result.email, result.display_name );
this.api.setUserInfo( result.email, result.display_name || result.name );
},
error => {
console.log( error._body );