This commit is contained in:
Tiago Kayaya
2020-11-27 15:21:36 +01:00
parent c4e27d07b1
commit 06df07e2e8
6 changed files with 79 additions and 4 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ export class AgendaPage implements OnInit {
case "Combinada":
//Inicializa o array eventSource
this.eventSource=[];
if(this.profile == "pr"){
if(this.profile == "mdgpr"){
this.eventService.getAllMdEvents(formatDate(startTime, 'yyyy-MM-dd HH:mm:ss', 'pt'), formatDate(endTime, 'yyyy-MM-dd HH:mm:ss', 'pt')).subscribe(
response => {
this.eventsList = response;