mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Fix test
This commit is contained in:
@@ -464,7 +464,7 @@ export class AgendaPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
loadRangeEvents(startTime: Date, endTime: Date){
|
||||
loadRangeEvents(startTime: Date, endTime: Date) {
|
||||
|
||||
this.eventSelectedDate = new Date(startTime);
|
||||
|
||||
@@ -647,9 +647,8 @@ export class AgendaPage implements OnInit {
|
||||
|
||||
case "Pessoal":
|
||||
//Inicializa o array eventSource
|
||||
|
||||
if(this.profile == "mdgpr" && this.loggeduser.Profile == 'MDGPR') {
|
||||
this.eventService.getAllMdEvents(momentG(new Date(startTime),'yyyy-MM-dd HH:mm:ss'), momentG(new Date(endTime),'yyyy-MM-dd 23:59:59')).then((response:any) => {
|
||||
this.eventService.getAllMdPessoalEvents(momentG(new Date(startTime),'yyyy-MM-dd HH:mm:ss'), momentG(new Date(endTime),'yyyy-MM-dd 23:59:59')).then((response:any) => {
|
||||
|
||||
// this.eventSource=[];
|
||||
|
||||
@@ -847,7 +846,6 @@ export class AgendaPage implements OnInit {
|
||||
|
||||
}
|
||||
} else {
|
||||
|
||||
// calendar
|
||||
let counter = 0;
|
||||
|
||||
@@ -980,7 +978,6 @@ export class AgendaPage implements OnInit {
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
this.eventService.getAllPrEvents(momentG(new Date(startTime),'yyyy-MM-dd HH:mm:ss'), momentG(new Date(endTime),'yyyy-MM-dd 23:59:59')).then((response:any) => {
|
||||
|
||||
if(this.segment == 'Oficial') {
|
||||
|
||||
Reference in New Issue
Block a user