You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I receive a certain event, I'm doing this kind of logic:
// activeNotifications is a wrapper around the Notification object with additional domain-specific metadata.
const activeNotif = this.activeNotifications.find((notif) => notif.cardId === cardId);
if (activeNotif != null) {
const toast = activeNotif.toast;
toast.theClass = 'active';
console.log('active notif found', activeNotif, toast);
}
However, the active class isn't set in the existing notification.
Do you know if this behavior is supported?
Can I cache the Notification object? If not, do I have an option to retrieve the notification (using an ID or something) from the NotificationsService?
Thanks!
The text was updated successfully, but these errors were encountered:
When I receive a certain event, I'm doing this kind of logic:
However, the
active
class isn't set in the existing notification.Do you know if this behavior is supported?
Can I cache the Notification object? If not, do I have an option to retrieve the notification (using an ID or something) from the NotificationsService?
Thanks!
The text was updated successfully, but these errors were encountered: