mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +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());
|
||||
|
||||
this.router.events.forEach((event) => {
|
||||
if (event instanceof NavigationStart && event.url.startsWith('/home/chat')) {
|
||||
if (this.dataService.get("newGroup")) {
|
||||
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")) {
|
||||
this.openNewGroupPage();
|
||||
}
|
||||
@@ -158,7 +166,7 @@ export class ChatPage implements OnInit {
|
||||
else{
|
||||
this.dataService.set("newGroup", false);
|
||||
}
|
||||
});
|
||||
}); */
|
||||
}
|
||||
|
||||
numSequence(n: number): Array<number> {
|
||||
|
||||
Reference in New Issue
Block a user