Fix actions on download manager (fixes #266)

This commit is contained in:
Alex Ling 2022-01-23 08:46:19 +00:00
parent 77df418390
commit fea6c04c4f
1 changed files with 1 additions and 1 deletions

View File

@ -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
})}`;