Start chat from expedientes

This commit is contained in:
Eudes Inácio
2022-09-26 15:55:15 +01:00
parent ea3002e8c7
commit 2384692c1b
@@ -660,13 +660,14 @@ export class ExpedienteDetailPage implements OnInit {
this.newGroup(); this.newGroup();
} }
else { else {
// console.log(this.task) console.log(this.task)
// console.log(this.fulltask) console.log(this.fulltask)
this.dataService.set("newGroup", true); this.dataService.set("newGroup", true);
this.dataService.set("task", this.task); this.dataService.set("task", this.task);
this.dataService.set("newGroupName", this.task.Folio); this.dataService.set("newGroupName", this.task.Folio);
this.dataService.set("documents", this.fulltask.Documents); this.dataService.set("documents", this.fulltask.Documents);
this.router.navigate(['/home/chat']); this.router.navigate(['/home/chat']);
this.newGroup();
} }
} }