From 69b1fbada5ecde1743f2b8c188f82f905c09666f Mon Sep 17 00:00:00 2001 From: FlayInAHook Date: Tue, 24 Nov 2020 19:12:05 +0100 Subject: [PATCH] gtikraken sucks --- src/app/components/sidenav-profile/sidenav-profile.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/components/sidenav-profile/sidenav-profile.component.ts b/src/app/components/sidenav-profile/sidenav-profile.component.ts index d1d74cf..7de2aaf 100644 --- a/src/app/components/sidenav-profile/sidenav-profile.component.ts +++ b/src/app/components/sidenav-profile/sidenav-profile.component.ts @@ -19,6 +19,7 @@ export class SidenavProfileComponent implements OnInit { if (user !== null){ this.name = user.user.name; this.email = user.user.email; + if (user.user.attributes !== null) return; this.profileURL = user.user.attributes.profile_url; } });