mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
add log for endpoints
This commit is contained in:
@@ -169,8 +169,6 @@ export class EventsToApprovePage implements OnInit {
|
||||
this.list = this.TaskService.reorderList(this.ordinance, list)
|
||||
}
|
||||
|
||||
console.log(this.list)
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -217,6 +215,7 @@ export class EventsToApprovePage implements OnInit {
|
||||
}
|
||||
|
||||
if(userId) {
|
||||
|
||||
let allEvents = await this.AgendaDataRepositoryService.eventToApproveList({
|
||||
userId,
|
||||
status: EEventFilterStatus.Pending
|
||||
@@ -231,7 +230,6 @@ export class EventsToApprovePage implements OnInit {
|
||||
this.eventoaprovacaostore.save(segment, [])
|
||||
}
|
||||
|
||||
this.showLoader = false;
|
||||
} else {
|
||||
|
||||
tracing.setAttribute('outcome', 'failed')
|
||||
@@ -240,12 +238,14 @@ export class EventsToApprovePage implements OnInit {
|
||||
if(!isHttpError(allEvents.error)) {
|
||||
this.toastService._badRequest('Pedimos desculpa mas não foi possível executar a acção. Por favor, contacte o apoio técnico. #4')
|
||||
}
|
||||
this.showLoader = false;
|
||||
|
||||
}
|
||||
} else {
|
||||
tracing.setAttribute('calling', 'early')
|
||||
console.warn('calling to early Events-to-approve/LoadToApproveEvents')
|
||||
}
|
||||
|
||||
this.showLoader = false;
|
||||
}
|
||||
|
||||
getFromDB() {}
|
||||
|
||||
Reference in New Issue
Block a user