diff --git a/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts b/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts index 046111776..163a18519 100644 --- a/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts +++ b/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts @@ -80,6 +80,7 @@ export class PedidoPage implements OnInit { async LoadTaskDetail(serial: string) { + this.fulltask = await this.processes.GetTask(this.serialnumber).toPromise(); this.processes.GetTask(this.serialnumber).subscribe(res => { console.log(res); @@ -223,7 +224,7 @@ export class PedidoPage implements OnInit { } async openExpedientActionsModal(taskAction: any, task: any) { - //this.modalController.dismiss(); + let classs; if( window.innerWidth <= 800){ classs = 'modal modal-desktop' @@ -234,7 +235,7 @@ export class PedidoPage implements OnInit { component: CreateProcessPage, componentProps: { taskAction: taskAction, - task: task, + task: this.fulltask, profile: this.profile, }, cssClass: classs,