This commit is contained in:
tiago.kayaya
2021-06-09 16:20:14 +01:00
parent 6e4197cb14
commit a561855706
2 changed files with 2 additions and 9 deletions
@@ -263,16 +263,12 @@ export class ExpedienteDetailPage implements OnInit {
} catch (error) {
this.badRequest('Processo não descartado')
}
this.goBack();
}
else if(res['data'] == 'No'){
console.log('Update');
try {
await this.processes.UpdateTaskStatus(this.task.FolderId);
await this.processes.UpdateTaskStatus(this.task.FolderId).toPromise();
this.successMessage();
this.goBack();
} catch (error) {