save mdgpr

This commit is contained in:
Tiago Kayaya
2020-11-26 09:04:22 +01:00
parent 65dae85c64
commit 8a963fcd81
8 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export class HomePage implements OnInit {
ngOnInit() {
//Initialize profile as mdgpr
this.profile = "pr";
this.profile = "mdgpr";
if(this.profile == "mdgpr"){
this.eventService.getAllMdEvents(formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
this.eventsList = res;