|
|
@ -4,6 +4,7 @@ import { AuthService } from '@shared/auth/auth.service'; |
|
|
|
import { Role } from '@shared/utils/roles'; |
|
|
|
import { Role } from '@shared/utils/roles'; |
|
|
|
|
|
|
|
|
|
|
|
import { environment } from '@env' |
|
|
|
import { environment } from '@env' |
|
|
|
|
|
|
|
import { cles } from '@shared/utils/cles'; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Le composant du nav menu de base. |
|
|
|
* Le composant du nav menu de base. |
|
|
@ -36,6 +37,7 @@ export class NavMenuComponent { |
|
|
|
//isExpanded = false;
|
|
|
|
//isExpanded = false;
|
|
|
|
|
|
|
|
|
|
|
|
logout() { |
|
|
|
logout() { |
|
|
|
|
|
|
|
sessionStorage.removeItem(cles.sessionKeyConnectee); |
|
|
|
this.authService.logout(); |
|
|
|
this.authService.logout(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|