improve chat

This commit is contained in:
Peter Maquiran
2023-01-09 10:49:58 +01:00
parent 56c1733945
commit a73dde467c
21 changed files with 436 additions and 373 deletions
+1 -5
View File
@@ -59,7 +59,6 @@ export class ProfilePage implements OnInit {
ngOnInit() {
if (this.platform.is('desktop') || this.platform.is('mobileweb')) {
// console.log('Notifications not supported')
this.getNotificationData();
} else {
this.getNotificationData();
@@ -78,8 +77,6 @@ export class ProfilePage implements OnInit {
async getNotificationData() {
console.log('profile',this.storageservice.key("Notifications"))
const keyExist = await this.storageservice.keyExist("Notifications")
if(keyExist) {
@@ -225,9 +222,8 @@ export class ProfilePage implements OnInit {
setTimeout(() => {
// alert('logout')
this.router.navigateByUrl('/auth', { replaceUrl: true });
this.router.navigate(['/auth']);
setTimeout(() =>{
setTimeout(() => {
if(this.logoutOut == false) {
window.location.pathname = '/auth'
}