mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
remove console logs
This commit is contained in:
@@ -126,10 +126,10 @@ export class NewEventPage implements OnInit {
|
||||
}
|
||||
|
||||
if (!this.CalendarName) {
|
||||
console.log('true', this.eventService.calendarNamesAry.includes('Meu calendario'))
|
||||
// console.log('true', this.eventService.calendarNamesAry.includes('Meu calendario'))
|
||||
if (this.eventService.calendarNamesAry.includes('Meu calendario')) {
|
||||
this.CalendarName = 'Meu calendario';
|
||||
console.log(this.eventService.calendarNamesAry)
|
||||
// console.log(this.eventService.calendarNamesAry)
|
||||
} else {
|
||||
this.CalendarName = this.eventService.calendarNamesAry[0]
|
||||
}
|
||||
@@ -391,7 +391,7 @@ export class NewEventPage implements OnInit {
|
||||
}
|
||||
|
||||
async save() {
|
||||
|
||||
|
||||
this.injectValidation()
|
||||
this.runValidation()
|
||||
|
||||
@@ -433,7 +433,7 @@ export class NewEventPage implements OnInit {
|
||||
|
||||
} else if (this.loggeduser.Profile == 'SGGPR') {
|
||||
|
||||
|
||||
|
||||
this.saveAproveEvent();
|
||||
|
||||
|
||||
@@ -622,23 +622,23 @@ export class NewEventPage implements OnInit {
|
||||
|
||||
checkRoleInArray() {
|
||||
for (let index = 0; index < this.eventService.calendarNamesAry.length; index++) {
|
||||
console.log('ROLE1', this.eventService.calendarNamesAry[index])
|
||||
// console.log('ROLE1', this.eventService.calendarNamesAry[index])
|
||||
|
||||
}
|
||||
|
||||
for (let index = 0; index < this.eventService.calendarRole.length; index++) {
|
||||
console.log('ROLE2', this.eventService.calendarRole[index])
|
||||
// console.log('ROLE2', this.eventService.calendarRole[index])
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//Deve ser removido posteriormente
|
||||
//Deve ser removido posteriormente
|
||||
async saveAproveEvent() {
|
||||
|
||||
console.log(this.postEvent)
|
||||
console.log(this.postEvent.CalendarName)
|
||||
console.log(this.CalendarName)
|
||||
console.log(this.eventService.calendarNamesAry)
|
||||
// console.log(this.postEvent)
|
||||
// console.log(this.postEvent.CalendarName)
|
||||
// console.log(this.CalendarName)
|
||||
// console.log(this.eventService.calendarNamesAry)
|
||||
const CalendarId = this.selectedCalendarId()
|
||||
|
||||
let selectedCalendar
|
||||
@@ -682,7 +682,7 @@ export class NewEventPage implements OnInit {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
if (DocumentToSave.length == 0) {
|
||||
this.afterSave();
|
||||
} */
|
||||
@@ -725,7 +725,7 @@ export class NewEventPage implements OnInit {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
if (DocumentToSave.length == 0) {
|
||||
this.afterSave();
|
||||
} */
|
||||
|
||||
Reference in New Issue
Block a user