diff --git a/src/app/app.component.html b/src/app/app.component.html
index 08b28072..e5de678f 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -25,8 +25,8 @@
-
-
+
+
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index d64c1904..4f79e186 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -84,7 +84,8 @@ export class AppComponent
const dialog = this.dialog.open(AccountComponent, {width: "500px", data: this.account});
dialog.afterClosed().subscribe((result: Account) =>
{
- this.account = result;
+ if (result)
+ this.account = result;
});
}
}
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 614507ab..1d839565 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -93,7 +93,7 @@ export function loadConfig(oidcConfigService: OidcConfigService)
AuthModule.forRoot()
],
entryComponents: [
- AccountComponent
+ AccountComponent
],
providers: [
OidcConfigService,
diff --git a/src/app/services/auth.service.ts b/src/app/services/auth.service.ts
index 465cfc61..d75e2aa5 100644
--- a/src/app/services/auth.service.ts
+++ b/src/app/services/auth.service.ts
@@ -56,6 +56,7 @@ export class AuthService
{
if (!this.isAuthenticated)
return null;
+ console.log("Running get account");
console.log(this.user);
return {email: this.user.email, username: this.user.username, picture: this.user.picture};
}
diff --git a/static/more.svg b/static/more.svg
new file mode 100644
index 00000000..65a683fa
--- /dev/null
+++ b/static/more.svg
@@ -0,0 +1 @@
+
\ No newline at end of file