|
|
@ -396,7 +396,7 @@ class Announcements extends ImmutablePureComponent { |
|
|
|
_markAnnouncementAsRead () { |
|
|
|
const { dismissAnnouncement, announcements } = this.props; |
|
|
|
const { index } = this.state; |
|
|
|
const announcement = announcements.get(index); |
|
|
|
const announcement = announcements.get(announcements.size - 1 - index); |
|
|
|
if (!announcement.get('read')) dismissAnnouncement(announcement.get('id')); |
|
|
|
} |
|
|
|
|
|
|
|