This commit is contained in:
Peter Maquiran
2021-08-10 09:40:14 +01:00
parent ca32bc3808
commit 62cd2e4f66
11 changed files with 27 additions and 32 deletions
@@ -131,6 +131,8 @@ export class BookMeetingModalPage implements OnInit {
this.taskParticipants = [];
this.loggeduser = authService.ValidatedUser;
this.task = this.navParams.get('task');
console.log(this.task)
this.postData = new Event();
this.eventBody = { BodyType : "1", Text : ""};
this.postData.Body = this.eventBody;
@@ -140,7 +142,6 @@ export class BookMeetingModalPage implements OnInit {
this.postData.CalendarName = "Oficial";
/* this.postData.StartDate = new Date(); */
/* Set + 30minutes to seleted datetime */
let selectedEndDate = new Date();
/* this.postData.EndDate = new Date(selectedEndDate.setMinutes(new Date().getMinutes() + 30)); */
this.dateControlStart = new FormControl(moment(new Date()));
@@ -279,7 +280,7 @@ export class BookMeetingModalPage implements OnInit {
}
this.modalController.dismiss();
this.distartExpedientModal();
// this.distartExpedientModal();
this.toastService.successMessage('Reunião criada');
} catch (error) {