This commit is contained in:
Ben Halpern 2018-11-20 15:27:08 -05:00 committed by GitHub
parent 115e52c748
commit 0e76bdcd33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@
<% if user_signed_in? %>
<% notification_count = 0 %>
<% @notifications.each do |notification| %>
<% next if (notification.notified_at < 24.hours.ago && notificatin.aggregated?) %>
<% next if (notification.notified_at < 24.hours.ago && notification.aggregated?) %>
<% notification_count = notification_count + 1 %>
<% break if notification_count > 45 %>
<div class="single-article single-article-small-pic <%= "unseen" unless notification.read? %>">