Skip to content

Commit

Permalink
Add individual list sizes to notification report
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Sep 7, 2023
1 parent 66e3261 commit 7e8f6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reports/concerns/notification_stats.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Reports::Concerns::NotificationStats
def list_names_array(lists)
lists.collect(&:title)
lists.map { |l| "#{l.title} (#{l.subscriptions.active.count} active subscribers)" }
end

def list_stats_array(lists)
Expand Down

0 comments on commit 7e8f6ba

Please sign in to comment.