Remove previous broadcasts from the dashboard

Since they have their own page now they don’t need to also appear on the
dashboard.
This commit is contained in:
Chris Hill-Scott
2020-10-13 11:41:22 +01:00
parent f0220fa9fb
commit 698f98389c
3 changed files with 2 additions and 26 deletions

View File

@@ -71,11 +71,6 @@ def get_broadcast_dashboard_partials(service_id):
broadcasts=broadcast_messages.with_status('broadcasting'),
empty_message='You do not have any live alerts at the moment',
),
previous_broadcasts=render_template(
'views/broadcast/partials/dashboard-table.html',
broadcasts=broadcast_messages.with_status('cancelled', 'completed'),
empty_message='You do not have any previous alerts',
),
)