This commit is contained in:
Peter Maquiran
2021-07-16 19:32:13 +01:00
parent c028e4e6f5
commit 050f84bc8e
13 changed files with 49 additions and 48 deletions
@@ -90,7 +90,7 @@ export class OptsExpedientePrPage implements OnInit {
await modal.present();
modal.onDidDismiss().then(res => {
modal.onDidDismiss().then(async (res) => {
console.log(res);
if(res.data){
const DocumentToSave = res.data.documents.map((e) => {
@@ -106,10 +106,10 @@ export class OptsExpedientePrPage implements OnInit {
}
if(actionName == 'Aprovar'){
this.approve(res.data.note, docs);
await this.approve(res.data.note, docs);
}
else if(actionName == 'Revisão'){
this.sendToReview(res.data.note, docs);
await this.sendToReview(res.data.note, docs);
}
this.goBack();
}