mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 01:55:41 -04:00
Merge pull request #1244 from GSA/Filter-out-empty-notifications
Filtered out empty notifications (related to recent batch table)
This commit is contained in:
@@ -76,6 +76,7 @@ def service_dashboard(service_id):
|
|||||||
"notifications": aggregate_notifications_by_job.get(job["id"], []),
|
"notifications": aggregate_notifications_by_job.get(job["id"], []),
|
||||||
}
|
}
|
||||||
for job in job_response
|
for job in job_response
|
||||||
|
if aggregate_notifications_by_job.get(job["id"], [])
|
||||||
]
|
]
|
||||||
return render_template(
|
return render_template(
|
||||||
"views/dashboard/dashboard.html",
|
"views/dashboard/dashboard.html",
|
||||||
|
|||||||
Reference in New Issue
Block a user