This commit is contained in:
tiago.kayaya
2021-12-01 15:11:54 +01:00
parent 94550db0eb
commit f4f7976a6d
8 changed files with 35 additions and 15 deletions
+3 -3
View File
@@ -153,14 +153,14 @@ export class ChatPage implements OnInit {
console.log(t);
this.setStatus('away');
if(this.dataService.get("newGroup")){
/* if(this.dataService.get("newGroup")){
this.openNewGroupPage();
}
} */
this.router.events.forEach((event) => {
if (event instanceof NavigationStart && event.url.startsWith('/home/chat')) {
if (window.location.pathname.split('/').length >= 4 && window.location.pathname.startsWith('/home/chat')) {
alert('OIII')
//alert('OIII')
} else {
if(this.dataService.get("newGroup")){
this.openNewGroupPage();