mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Fixe merge and improve sucess message
This commit is contained in:
@@ -173,7 +173,7 @@ export class DespachosOptionsPage implements OnInit {
|
||||
}
|
||||
|
||||
try {
|
||||
await this.processes.CompleteTask(body);
|
||||
await this.processes.CompleteTask(body).toPromise()
|
||||
this.successMessage()
|
||||
this.close();
|
||||
} catch (error) {
|
||||
@@ -248,7 +248,7 @@ export class DespachosOptionsPage implements OnInit {
|
||||
"AttachmentList" :documents,
|
||||
}
|
||||
try {
|
||||
await this.processes.CompleteTask(body);
|
||||
await this.processes.CompleteTask(body).toPromise()
|
||||
this.successMessage()
|
||||
this.close();
|
||||
} catch (error) {
|
||||
@@ -270,7 +270,7 @@ export class DespachosOptionsPage implements OnInit {
|
||||
}
|
||||
|
||||
try {
|
||||
await this.processes.CompleteTask(body);
|
||||
await this.processes.CompleteTask(body).toPromise()
|
||||
this.close();
|
||||
this.successMessage()
|
||||
} catch(error) {
|
||||
@@ -327,7 +327,7 @@ export class DespachosOptionsPage implements OnInit {
|
||||
"AttachmentList" :documents,
|
||||
}
|
||||
try {
|
||||
await this.processes.CompleteTask(body);
|
||||
await this.processes.CompleteTask(body).toPromise()
|
||||
this.successMessage()
|
||||
this.close();
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user