mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
start chat from expedient bug solved
This commit is contained in:
@@ -145,8 +145,16 @@ export class ChatPage implements OnInit {
|
|||||||
|
|
||||||
let t = this.showDateDuration(new Date());
|
let t = this.showDateDuration(new Date());
|
||||||
|
|
||||||
this.router.events.forEach((event) => {
|
if (this.dataService.get("newGroup")) {
|
||||||
if (event instanceof NavigationStart && event.url.startsWith('/home/chat')) {
|
this.openNewGroupPage();
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
this.closeAllDesktopComponents();
|
||||||
|
this.showEmptyComponent = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* this.router.events.forEach((event) => {
|
||||||
|
if (event instanceof NavigationStart || event.url.endsWith('/home/chat')) {
|
||||||
if (this.dataService.get("newGroup")) {
|
if (this.dataService.get("newGroup")) {
|
||||||
this.openNewGroupPage();
|
this.openNewGroupPage();
|
||||||
}
|
}
|
||||||
@@ -158,7 +166,7 @@ export class ChatPage implements OnInit {
|
|||||||
else{
|
else{
|
||||||
this.dataService.set("newGroup", false);
|
this.dataService.set("newGroup", false);
|
||||||
}
|
}
|
||||||
});
|
}); */
|
||||||
}
|
}
|
||||||
|
|
||||||
numSequence(n: number): Array<number> {
|
numSequence(n: number): Array<number> {
|
||||||
|
|||||||
+2
-3
@@ -660,14 +660,13 @@ 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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user