Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added imports used in .ts to .spec.ts
  • Loading branch information
mmaquina committed Sep 5, 2022
commit 1c5203ebb154a238e59d8b38d69873f2a2066a22
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import { ActionsSubject } from '@ngrx/store';
import { DataTablesModule } from 'angular-datatables';
import { GrantUserRole, RevokeUserRole } from '../../store/user.actions';
import { ROLES } from '../../../../../environments/environment';
import { UserInfoService } from 'src/app/modules/user/services/user-info.service';
import { LoginService } from '../../../login/services/login.service';
import { JwtHelperService } from '@auth0/angular-jwt';

describe('UsersListComponent', () => {
let component: UsersListComponent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class UsersListComponent implements OnInit, OnDestroy, AfterViewInit {
)
);
}

checkRoleCurrentUser(userEmail: string){
const token = this.loginService.getLocalStorage('user');
const user = this.helper.decodeToken(token);
Expand Down