|
|
|
@ -31,16 +31,18 @@ export class HomeComponent implements OnInit { |
|
|
|
|
private listeCollaborateurs : CollaborateurModel[]; |
|
|
|
|
private formationSubscription : Subscription; |
|
|
|
|
private addFormationSubscription : Subscription; |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
private epEnvoieSubscription : Subscription; |
|
|
|
|
private epCollaborateurSubscription : Subscription; |
|
|
|
|
private epDisponiblesSubscription : Subscription; |
|
|
|
|
private epCollaborateurProchain : Subscription; |
|
|
|
|
|
|
|
|
|
//*/
|
|
|
|
|
constructor(public keycloakService : KeycloakService, private serviceCollaborateur : ServiceCollaborateur, |
|
|
|
|
private serviceFormation : ServiceFormation, private serviceEP : ServiceEP) { |
|
|
|
|
|
|
|
|
|
//********TEST********//
|
|
|
|
|
let ep = new EpModel(); |
|
|
|
|
/*let ep = new EpModel(); |
|
|
|
|
ep.id = 10; |
|
|
|
|
ep.type ="EPA"; |
|
|
|
|
//ep.dateDisponibilite = new Date(2020,0,5,25,30);
|
|
|
|
@ -117,7 +119,6 @@ export class HomeComponent implements OnInit { |
|
|
|
|
if(this.addFormationSubscription != null) { |
|
|
|
|
this.addFormationSubscription.unsubscribe(); |
|
|
|
|
} |
|
|
|
|
*/ |
|
|
|
|
if(this.epEnvoieSubscription != null) { |
|
|
|
|
this.epEnvoieSubscription.unsubscribe(); |
|
|
|
|
} |
|
|
|
@ -130,7 +131,7 @@ export class HomeComponent implements OnInit { |
|
|
|
|
if(this.epCollaborateurProchain != null) { |
|
|
|
|
this.epCollaborateurProchain.unsubscribe(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|