This commit is contained in:
Peter Maquiran
2021-08-20 14:39:06 +01:00
parent f5cd6a0e92
commit 479ebb8ee6
2 changed files with 20 additions and 2 deletions
@@ -237,6 +237,8 @@ export class RequestOptionsPage implements OnInit {
else if(actionName == 'Arquivar') {
await this.arquivar(res.data.note, docs);
this.popoverController.dismiss('close')
this.modalController.dismiss('close');
alert('close')
}
}
});
@@ -255,7 +257,6 @@ export class RequestOptionsPage implements OnInit {
try {
await this.processes.CompleteTask(body).toPromise()
this.close();
this.toastService.successMessage('Processo arquivado')
} catch (error) {
this.toastService.badRequest('Processo não arquivado')