mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
save
This commit is contained in:
+2
-2
@@ -260,7 +260,7 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await this.processes.CompleteTask(otherbody).toPromise()
|
await this.processes.CompleteTask(otherbody).toPromise()
|
||||||
this.toastService.successMessage('Processo descartado');
|
//this.toastService.successMessage('Processo descartado');
|
||||||
this.goBack();
|
this.goBack();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.toastService.badRequest('Processo não descartado')
|
this.toastService.badRequest('Processo não descartado')
|
||||||
@@ -278,7 +278,7 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
const loader = this.toastService.loading()
|
const loader = this.toastService.loading()
|
||||||
try {
|
try {
|
||||||
await this.processes.CompleteTask(body).toPromise();
|
await this.processes.CompleteTask(body).toPromise();
|
||||||
this.toastService.successMessage('Processo descartado');
|
//this.toastService.successMessage('Processo descartado');
|
||||||
this.goBack();
|
this.goBack();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.toastService.badRequest('Processo não descartado')
|
this.toastService.badRequest('Processo não descartado')
|
||||||
|
|||||||
Reference in New Issue
Block a user