Functionality fully added

This commit is contained in:
piratefinn 2017-09-19 17:22:19 +01:00
parent 7b03f6adff
commit 089e7f7a97
9 changed files with 49 additions and 5 deletions

View file

@ -8,6 +8,7 @@ import { Router } from '@angular/router';
})
export class FullLayoutComponent implements OnInit {
public displayName: string;
public accountType: any;
public disabled = false;
public status: {isopen: boolean} = {isopen: false};
@ -29,6 +30,7 @@ export class FullLayoutComponent implements OnInit {
// getDisplayName function from api didnt work
ngOnInit(): void {
this.displayName = localStorage.getItem('displayname') || 'User';
this.accountType = localStorage.getItem('usertype');
}
userLogout() {