Remove channel states from alerts page info

This commit is contained in:
Matthew Stratford 2021-09-21 22:50:52 +01:00
parent 7dc0facf73
commit 642aaf04d5

View file

@ -144,10 +144,6 @@ def ui_status(request):
@app.route("/alerts") @app.route("/alerts")
def ui_alerts(request): def ui_alerts(request):
channel_states = []
for i in range(server_state.get()["num_channels"]):
channel_states.append(status(i))
data = { data = {
"alerts_current": alerts.alerts_current, "alerts_current": alerts.alerts_current,
"alerts_count_current": alerts.alert_count_current, "alerts_count_current": alerts.alert_count_current,