Skip to content

Commit

Permalink
fix: notifications (#1298)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleroooo authored Nov 16, 2024
1 parent e8a8243 commit 18a6677
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/layout/NotificationsToastArea/NotifcationStack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ export const NotificationStack = ({ notifications, className }: ElementProps & S
isStacked={idx > 0 && shouldStackNotifications}
isOpen={
notification.status < NotificationStatus.Unseen &&
(notification.timestamps[NotificationStatus.Unseen] ?? 0) > NOTIFICATIONS_INIT_TIME
(notification.timestamps[NotificationStatus.Updated] ??
notification.timestamps[NotificationStatus.Triggered] ??
0) > NOTIFICATIONS_INIT_TIME
}
layer={idx}
notification={notification}
Expand Down

0 comments on commit 18a6677

Please sign in to comment.