urls
FlayInAHook 4 years ago
parent 69b1fbada5
commit 99f6795ee1

@ -19,7 +19,7 @@ export class SidenavProfileComponent implements OnInit {
if (user !== null){ if (user !== null){
this.name = user.user.name; this.name = user.user.name;
this.email = user.user.email; this.email = user.user.email;
if (user.user.attributes !== null) return; if (user.user.attributes === null) return;
this.profileURL = user.user.attributes.profile_url; this.profileURL = user.user.attributes.profile_url;
} }
}); });

Loading…
Cancel
Save