From 99f6795ee1aa6253e431a293d7dc19d43b04c902 Mon Sep 17 00:00:00 2001 From: FlayInAHook Date: Tue, 24 Nov 2020 19:20:12 +0100 Subject: [PATCH] i suck --- src/app/components/sidenav-profile/sidenav-profile.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/sidenav-profile/sidenav-profile.component.ts b/src/app/components/sidenav-profile/sidenav-profile.component.ts index 7de2aaf..4873d8e 100644 --- a/src/app/components/sidenav-profile/sidenav-profile.component.ts +++ b/src/app/components/sidenav-profile/sidenav-profile.component.ts @@ -19,7 +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; + if (user.user.attributes === null) return; this.profileURL = user.user.attributes.profile_url; } });