[enh] broadcast job deletation to single job page

This commit is contained in:
Laurent Peuch 2018-09-03 07:10:42 +02:00
parent a62aa571f6
commit 0a828471bd

2
run.py
View file

@ -428,7 +428,7 @@ async def api_delete_job(request, job_id):
await broadcast({ await broadcast({
"action": "delete_job", "action": "delete_job",
"data": data, "data": data,
}, "jobs") }, ["jobs", f"job-{job_id}"])
return response.text("ok") return response.text("ok")