mirror of
https://github.com/hkalexling/Mango.git
synced 2026-01-24 00:03:14 -05:00
Fix actions on download manager (fixes #266)
This commit is contained in:
@@ -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
|
||||||
})}`;
|
})}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user