[backend/razor] Don't reload queue dashboard job view before abandon action is confirmed
This commit is contained in:
parent
40d6f71023
commit
46eda9b4c0
1 changed files with 0 additions and 1 deletions
|
@ -77,5 +77,4 @@ async function retryAllOnPage(queue) {
|
||||||
|
|
||||||
async function abandon(id, target) {
|
async function abandon(id, target) {
|
||||||
await confirm(target, () => callApiMethod(`/api/iceshrimp/admin/queue/jobs/${id}/abandon`));
|
await confirm(target, () => callApiMethod(`/api/iceshrimp/admin/queue/jobs/${id}/abandon`));
|
||||||
window.location.reload();
|
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue