calendrier : fin + gestion des roles + debug

This commit is contained in:
Hedi 2022-03-01 15:17:34 +01:00
parent f02e3b630e
commit 68aae07bb3
3 changed files with 8 additions and 2 deletions

View File

@ -57,7 +57,11 @@
(click)="navigateNext($event)" (click)="navigateNext($event)"
>Next</a >Next</a
> >
team : {{ teamId }} - user: {{ userId }} - role: {{ role }}
<!-- DEBUT : Pour le debugage -->
<span *ngIf="debug">team : {{ teamId }} - user: {{ userId }} - role: {{ role }}</span>
<!-- FIN : Pour le debugage -->
<span style="float: right" <span style="float: right"
><a ><a
href="#" href="#"

View File

@ -10,7 +10,7 @@ import jwt_decode from 'jwt-decode';
styleUrls: ['./page-agenda.component.scss'] styleUrls: ['./page-agenda.component.scss']
}) })
export class PageAgendaComponent implements AfterViewInit { export class PageAgendaComponent implements AfterViewInit {
debug: boolean;
userId : any; userId : any;
teamId : any; teamId : any;
role:any; role:any;
@ -23,6 +23,7 @@ export class PageAgendaComponent implements AfterViewInit {
constructor(private evenementService:EvenementService) { constructor(private evenementService:EvenementService) {
this.isShow = false; this.isShow = false;
this.alert = ""; this.alert = "";
this.debug = environment.debug;
} }
get date(): DayPilot.Date { get date(): DayPilot.Date {

View File

@ -6,6 +6,7 @@ export const environment = {
production: false, production: false,
apiUrl: 'http://localhost:8080', apiUrl: 'http://localhost:8080',
tokenKey: 'TOKEN-ORGANIZEE', tokenKey: 'TOKEN-ORGANIZEE',
debug: true,
}; };
/* /*