This commit is contained in:
Tiago Kayaya
2020-11-26 05:41:54 +01:00
parent d1214e0313
commit 65dae85c64
22 changed files with 266 additions and 50 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export class HomePage implements OnInit {
ngOnInit() {
//Initialize profile as mdgpr
this.profile = "mdgpr";
this.profile = "pr";
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;