mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
+1
-5
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user