mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
remove filtering of test messages from jobs
this is now down on the api side
This commit is contained in:
committed by
Chris Hill-Scott
parent
ee8ac59d70
commit
e4f0656a32
@@ -129,7 +129,6 @@ def get_dashboard_partials(service_id):
|
||||
immediate_jobs = [
|
||||
add_rate_to_job(job)
|
||||
for job in job_api_client.get_jobs(service_id, limit_days=7, statuses=statuses_to_display)['data']
|
||||
if job['original_file_name'] != current_app.config['TEST_MESSAGE_FILENAME']
|
||||
]
|
||||
service = service_api_client.get_detailed_service(service_id)
|
||||
|
||||
|
||||
@@ -71,7 +71,6 @@ def view_jobs(service_id):
|
||||
jobs_response = job_api_client.get_jobs(service_id, statuses=statuses_to_display, page=page)
|
||||
jobs = [
|
||||
add_rate_to_job(job) for job in jobs_response['data']
|
||||
if job['original_file_name'] != current_app.config['TEST_MESSAGE_FILENAME']
|
||||
]
|
||||
|
||||
prev_page = None
|
||||
|
||||
Reference in New Issue
Block a user