Merge branch 'feature/aganda-show-list-box' into develop

This commit is contained in:
gilson.manuel
2022-07-04 19:18:06 +01:00
8 changed files with 184 additions and 157 deletions
@@ -165,7 +165,7 @@ export class NewEventPage implements OnInit {
this.eventBody = { BodyType : "1", Text : ""};
this.postEvent.Body = this.eventBody;
if(this.selectedSegment != "Combinada"){
if(this.selectedSegment != "Combinada") {
this.postEvent ={
EventId: '',
Subject: '',
@@ -188,7 +188,7 @@ export class NewEventPage implements OnInit {
};
}
else{
this.postEvent ={
this.postEvent = {
EventId: '',
Subject: '',
Body: this.eventBody,
@@ -207,11 +207,11 @@ export class NewEventPage implements OnInit {
Category: 'Reunião',
HasAttachments: false,
EventRecurrence: {Type:'-1',LastOccurrence:this.autoEndTime},
};
}
}
if(this.postEvent.Attendees != null) {
this.postEvent.Attendees.forEach(e =>{
this.postEvent.Attendees.forEach(e => {
if(e.IsRequired) {
this.taskParticipants.push(e);
} else {
@@ -65,9 +65,12 @@ export class ViewEventPage implements OnInit {
this.loadedEvent = new Event();
this.eventBody = { BodyType : "1", Text : ""};
this.loadedEvent.Body = this.eventBody;
}
ngOnInit() {
this.loadEvent();
}
@@ -35,7 +35,7 @@ export class PendentesPage implements OnInit {
private storage: Storage
) {
this.loggeduser = authService.ValidatedUser;
}
}
ngOnInit() {
@@ -80,13 +80,13 @@ export class PendentesPage implements OnInit {
}
})
}
}
getFromDb() {
this.storage.get('pendente-list').then((pendentes) => {
this.listToPresent =pendentes
})
}
getFromDb() {
this.storage.get('pendente-list').then((pendentes) => {
this.listToPresent =pendentes
})
}
doRefresh() {
setTimeout(()=>{