mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix route
This commit is contained in:
@@ -59,6 +59,12 @@ export class ProfilePage implements OnInit {
|
||||
public NotificationHolderService: NotificationHolderService
|
||||
) {
|
||||
|
||||
window['e'] = () => {
|
||||
console.log(
|
||||
this.zone.run(() => this.router.navigate(['/home/chat']))
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
router.events.subscribe((val) => {
|
||||
this.isProfileOpen = false
|
||||
@@ -293,7 +299,11 @@ export class ProfilePage implements OnInit {
|
||||
let navigationExtras: NavigationExtras = { queryParams: { "roomId": IdObject, } };
|
||||
|
||||
this.zone.run(() => this.router.navigate(['/home/chat']));
|
||||
this.zone.run(() => this.router.navigate(['/home/chat'], navigationExtras));
|
||||
|
||||
setTimeout(() => {
|
||||
this.zone.run(() => this.router.navigate(['/home/chat'], navigationExtras));
|
||||
}, 200);
|
||||
|
||||
|
||||
this.deleteNotification(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user