mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[enh] broadcast job deletation to single job page
This commit is contained in:
parent
a62aa571f6
commit
0a828471bd
1 changed files with 1 additions and 1 deletions
2
run.py
2
run.py
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue