From 2885f95322f42b3f4b9200e31ebf0e0b1d5db159 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Wed, 24 Mar 2021 11:01:51 +0100 Subject: [PATCH] Bug to fixe --- src/app/home/home.page.html | 60 ++++++++++++++--------------- src/app/pages/agenda/agenda.page.ts | 5 +++ 2 files changed, 34 insertions(+), 31 deletions(-) diff --git a/src/app/home/home.page.html b/src/app/home/home.page.html index 7aa44c00e..3d7f5d093 100644 --- a/src/app/home/home.page.html +++ b/src/app/home/home.page.html @@ -1,33 +1,31 @@ + + + + + + {{totalEvent}} + Iníci1o + + + + + Agenda + + + + + {{totalExpediente}} + Gabinete + + + + Ações + + + + Chat + + - - - - - - {{totalEvent}} - Iníci1o - - - - - - Agenda - - - - - {{totalExpediente}} - Gabinete - - - - Ações - - - - Chat - - - - + \ No newline at end of file diff --git a/src/app/pages/agenda/agenda.page.ts b/src/app/pages/agenda/agenda.page.ts index f4c5c2dfb..684046dbc 100644 --- a/src/app/pages/agenda/agenda.page.ts +++ b/src/app/pages/agenda/agenda.page.ts @@ -382,6 +382,9 @@ export class AgendaPage implements OnInit { if(ele.className.indexOf(`timeline-box-event-${eventIndex}`)>=0){ ele.setAttribute('style',`height:${minutes}px`); } + if(`timeline-box-event-${eventIndex}` == `timeline-box-event-3`){ + // alert(startEvent.toString()+' '+ endEvent.toString()); + } }); }); @@ -646,6 +649,8 @@ export class AgendaPage implements OnInit { this.TimelineMD = this.timelineFilter(this.timelineFilterState, this.eventsList, 'md'); + // this.eventSource = this.TimelineMD; + this.events = this.timelineFilter(this.timelineFilterState, this.eventsList, 'md'); this.myCal.update();