@@ -96,7 +125,12 @@ export class RoleComponent implements OnInit {
}
removeSupplementaryRole(index:number){
this.role.supplementaryRoles.splice(index,1);
constdialogRef=this.dialog.open(SuppressDialogComponent,{data:'ce Rôle Supplémentaire'+(this.role.supplementaryRoles[index].name?' <'+this.role.supplementaryRoles[index].name+'>':'')});
dialogRef.afterClosed().subscribe(result=>{
if(result==true){
this.role.supplementaryRoles.splice(index,1);
}
});
}
addReward():void{
...
...
@@ -115,7 +149,12 @@ export class RoleComponent implements OnInit {