Improve agenda can go back from editing event to view event etc.

This commit is contained in:
Peter Maquiran
2021-04-01 11:28:39 +01:00
parent d892d84c4e
commit 3aca9f9cb9
4 changed files with 42 additions and 27 deletions
@@ -36,7 +36,14 @@ export class EventListComponent implements OnInit {
ngOnInit() {
console.log(this.profile);
/* console.log(this.profile); */
if(this.profile == "mdgpr"){
this.profile = 'MDGPR'
} else {
this.profile = 'PR'
}
this.LoadToApproveEvents();
this.router.events.forEach((event) => {