diff --git a/src/frontend/app/model/network/authentication.service.ts b/src/frontend/app/model/network/authentication.service.ts
index 697143b2..a1676b8e 100644
--- a/src/frontend/app/model/network/authentication.service.ts
+++ b/src/frontend/app/model/network/authentication.service.ts
@@ -22,7 +22,7 @@ export class AuthenticationService {
constructor(private _userService: UserService,
private _networkService: NetworkService,
private shareService: ShareService) {
- this.user = new BehaviorSubject(JSON.parse(localStorage.getItem('currentUser')));
+ this.user = new BehaviorSubject(null);
// picking up session..
if (this.isAuthenticated() === false && Cookie.get(CookieNames.session) != null) {
@@ -52,11 +52,6 @@ export class AuthenticationService {
window.setTimeout(() => {
this.user.subscribe((u) => {
this.shareService.onNewUser(u);
- if (u !== null) {
- localStorage.setItem('currentUser', JSON.stringify(u));
- } else {
- localStorage.removeItem('currentUser');
- }
});
}, 0);
}
diff --git a/src/frontend/app/ui/frame/frame.component.css b/src/frontend/app/ui/frame/frame.component.css
index 82928aa6..27c63ab0 100644
--- a/src/frontend/app/ui/frame/frame.component.css
+++ b/src/frontend/app/ui/frame/frame.component.css
@@ -70,16 +70,16 @@ app-language {
}
-a.dropdown-item {
+a.dropdown-item, button.dropdown-item {
padding: 0.3rem 1.0rem 0.3rem 0.8rem;
}
-a.dropdown-item span {
+a.dropdown-item span, button.dropdown-item span {
padding-right: 0.8rem;
}
-a.dropdown-item span.badge {
+a.dropdown-item span.badge, button.dropdown-item span.badge {
padding: 0.25em 0.4em 0.25rem 0;
margin-left: -0.8rem;
}
diff --git a/src/frontend/app/ui/frame/frame.component.html b/src/frontend/app/ui/frame/frame.component.html
index 62513726..c507204f 100644
--- a/src/frontend/app/ui/frame/frame.component.html
+++ b/src/frontend/app/ui/frame/frame.component.html
@@ -1,4 +1,4 @@
-
+