diff --git a/app/main/views/jobs.py b/app/main/views/jobs.py index 648fb5c21..1fc897f9a 100644 --- a/app/main/views/jobs.py +++ b/app/main/views/jobs.py @@ -293,7 +293,7 @@ def _get_job_counts(job, help_argument): [ 'Sending', 'sending', ( - job.get('notifications_sent', 0) - + job.get('notification_count', 0) - job.get('notifications_delivered', 0) - job.get('notifications_failed', 0) ) diff --git a/app/templates/views/dashboard/_jobs.html b/app/templates/views/dashboard/_jobs.html index b414e4456..0a2b3a2f7 100644 --- a/app/templates/views/dashboard/_jobs.html +++ b/app/templates/views/dashboard/_jobs.html @@ -23,7 +23,7 @@ {% endcall %} {% call field() %} {{ big_number( - item.get('notifications_sent', 0) - item.get('notifications_delivered', 0) - item.get('notifications_failed', 0), + item.get('notification_count', 0) - item.get('notifications_delivered', 0) - item.get('notifications_failed', 0), smallest=True ) }} {% endcall %}