Remove anwanted process from expediente list

This commit is contained in:
Eudes Inácio
2022-05-16 16:31:03 +01:00
parent cdf921975c
commit 6b5a2169ed
4 changed files with 12 additions and 6 deletions
@@ -73,6 +73,9 @@ export class ExpedientsPage implements OnInit {
});
this.taskslist = this.sortService.sortDate(this.taskslist, 'CreateDate')
this.addProcessTODb(this.taskslist);
this.taskslist = this.taskslist.filter(function(item) {
return item.activityInstanceName != 'Retificar Expediente'
})
this.expedientegbstore.reset(this.taskslist);
}, (error) => {
this.getEventsFromLocalDb();