mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Merge branch 'developer' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
@@ -518,18 +518,19 @@ export class AgendaPage implements OnInit {
|
||||
|
||||
if(window.innerWidth < 800){
|
||||
|
||||
this.showTimeline = false;
|
||||
// this.showTimeline = false;
|
||||
|
||||
switch (this.segment) {
|
||||
case "Combinado":
|
||||
//Inicializa o array eventSource
|
||||
this.eventSource=[];
|
||||
//this.eventSource=[];
|
||||
|
||||
|
||||
if(this.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') ).subscribe(
|
||||
response => {
|
||||
|
||||
|
||||
// calendar
|
||||
this.eventSource=[];
|
||||
|
||||
this.eventsList = response;
|
||||
@@ -761,11 +762,11 @@ export class AgendaPage implements OnInit {
|
||||
}
|
||||
} else {
|
||||
|
||||
this.showTimelinePR = false;
|
||||
this.showTimelineMD = false;
|
||||
//this.showTimelinePR = false;
|
||||
//this.showTimelineMD = false;
|
||||
|
||||
// calendar
|
||||
this.eventSource=[];
|
||||
|
||||
|
||||
this.eventService.getAllMdEvents( momentG(new Date(startTime),'yyyy-MM-dd HH:mm:ss'), momentG(new Date(endTime),'yyyy-MM-dd 23:59:59') ).subscribe(
|
||||
response => {
|
||||
@@ -780,6 +781,7 @@ export class AgendaPage implements OnInit {
|
||||
this.eventsList = response;
|
||||
}
|
||||
|
||||
this.eventSource=[];
|
||||
// loop
|
||||
this.eventsList.forEach((element, eventIndex) => {
|
||||
|
||||
@@ -825,6 +827,8 @@ export class AgendaPage implements OnInit {
|
||||
this.eventsList = response;
|
||||
}
|
||||
|
||||
this.eventSource=[];
|
||||
|
||||
this.eventsList.forEach((element, eventIndex) => {
|
||||
|
||||
// calendar
|
||||
|
||||
Reference in New Issue
Block a user