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