mirror of https://github.com/getmango/Mango.git
Fix actions on download manager (fixes #266)
This commit is contained in:
parent
77df418390
commit
fea6c04c4f
|
@ -55,7 +55,7 @@ const component = () => {
|
|||
jobAction(action, event) {
|
||||
let url = `${base_url}api/admin/mangadex/queue/${action}`;
|
||||
if (event) {
|
||||
const id = event.currentTarget.closest('tr').id.split('-')[1];
|
||||
const id = event.currentTarget.closest('tr').id.split('-').slice(1).join('-');
|
||||
url = `${url}?${$.param({
|
||||
id: id
|
||||
})}`;
|
||||
|
|
Loading…
Reference in New Issue