PR have the same actions that MD have on events to aprove

This commit is contained in:
Eudes Inácio
2023-08-30 11:17:17 +01:00
parent 3d986e864c
commit bf1337f5db
5 changed files with 15 additions and 13 deletions
+3 -3
View File
@@ -311,9 +311,9 @@ export class TaskService {
async loadEventosParaAprovacao() {
this.showLoaderNum++
console.log('PR')
// PR dont have event to approve
if(this.SessionStore.user.Profile != 'PR') {
/* if(this.SessionStore.user.Profile != 'PR') { */
try {
for(let calendar of this.eventService.calendarNamesAry) {
if(calendar == 'Meu calendario') {
@@ -345,7 +345,7 @@ export class TaskService {
} catch (error) {
}
}
/* } */
this.showLoaderNum--