diff --git a/src/app/fyle/notifications/notifications.page.ts b/src/app/fyle/notifications/notifications.page.ts index 16880ea3e8..77ad6ba9da 100644 --- a/src/app/fyle/notifications/notifications.page.ts +++ b/src/app/fyle/notifications/notifications.page.ts @@ -169,7 +169,7 @@ export class NotificationsPage implements OnInit { map((setting) => { if (setting.admin_email_settings.unsubscribed_events.length) { this.notificationEvents.events = this.notificationEvents.events.filter((notificationEvent) => { - const emailEvents = this.orgSettings.admin_email_settings.unsubscribed_events as string[]; + const emailEvents = setting.admin_email_settings.unsubscribed_events as string[]; return emailEvents.indexOf(notificationEvent.eventType.toUpperCase()) === -1; }); }