mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 03:15:31 -04:00
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) {
|
jobAction(action, event) {
|
||||||
let url = `${base_url}api/admin/mangadex/queue/${action}`;
|
let url = `${base_url}api/admin/mangadex/queue/${action}`;
|
||||||
if (event) {
|
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({
|
url = `${url}?${$.param({
|
||||||
id: id
|
id: id
|
||||||
})}`;
|
})}`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user