added conditional

This commit is contained in:
Beverly Nguyen
2024-02-23 17:50:25 -08:00
parent 15c1863ab0
commit 66909e9624

View File

@@ -76,6 +76,7 @@ def service_dashboard(service_id):
"notifications": aggregate_notifications_by_job.get(job["id"], []),
}
for job in job_response
if aggregate_notifications_by_job.get(job["id"], [])
]
return render_template(
"views/dashboard/dashboard.html",