mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
fix bugs
This commit is contained in:
@@ -179,7 +179,6 @@ export class DespachosPrPage implements OnInit {
|
||||
})
|
||||
this.sqliteservice.getprocessByworkflow('Despacho do Presidente da República').then(async (process: any[]) => {
|
||||
|
||||
|
||||
let despachosPr;
|
||||
|
||||
if(this.loggeduser.Profile != 'PR') {
|
||||
@@ -187,7 +186,7 @@ export class DespachosPrPage implements OnInit {
|
||||
} else if (this.loggeduser.Profile == 'PR') {
|
||||
despachosPr = await process.reverse().filter(data => data.activityInstanceName == "Concluir Despacho");
|
||||
}
|
||||
|
||||
|
||||
despachosPr = despachosPr.filter(data => JSON.parse(data.workflowInstanceDataFields).Status == "Active");
|
||||
despachosPr.forEach((element, index) => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user