diff --git a/src/app/modals/profile/profile.page.ts b/src/app/modals/profile/profile.page.ts index e2136e974..192dccbc4 100644 --- a/src/app/modals/profile/profile.page.ts +++ b/src/app/modals/profile/profile.page.ts @@ -162,7 +162,7 @@ export class ProfilePage implements OnInit { console.log("Delete notification first stata", this.notificationdata) this.notificationdata = this.notificationdata.filter(item=>item.index !=index ); - if(typeof(this.notificationdata) ) { + if(typeof(this.notificationdata) != 'object' ) { console.log('=_+_+_+_+_+_+_+_+_+_++_+_+_+_+_+_+_+_+_+_+_+_ not an object') }