diff --git a/app/views/notifications/index/_read_notifications.html.erb b/app/views/notifications/index/_read_notifications.html.erb index c5e282237..04c2e3c48 100644 --- a/app/views/notifications/index/_read_notifications.html.erb +++ b/app/views/notifications/index/_read_notifications.html.erb @@ -1,7 +1,9 @@ -
-

Previously seen

+<% if page.records.any? %> +
+

Previously seen

-
- <%= render partial: "notifications/index/notification", collection: page.records, cached: true %> -
-
+
+ <%= render partial: "notifications/index/notification", collection: page.records, cached: true %> +
+
+<% end %>