this.projectService.getAllProjects().subscribe((projects: {}[]) => {
this.projectList = projects;
});
- this.isAdminShow = localStorage.getItem('admin_show') === 'true' ? true : false;
+ this.isAdminShow = sessionStorage.getItem('admin_show') === 'true' ? true : false;
this.generateColumns();
this.generateSettings();
this.generateData();