mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Improve
This commit is contained in:
+3
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user