1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-27 13:28:04 +00:00

Bugfix failed tasks can no longer aborted

Metdatabackup is done on startup if app mode is test
This commit is contained in:
Ozzie Isaacs
2023-02-25 16:31:48 +01:00
parent b28a2cc58c
commit 76b0411c33
4 changed files with 11 additions and 10 deletions

View File

@@ -634,7 +634,7 @@ function UserActions (value, row) {
/* Function for cancelling tasks */
function TaskActions (value, row) {
var cancellableStats = [0, 1, 2];
var cancellableStats = [0, 2];
if (row.task_id && row.is_cancellable && cancellableStats.includes(row.stat)) {
return [
"<div class=\"danger task-cancel\" data-toggle=\"modal\" data-target=\"#cancelTaskModal\" data-task-id=\"" + row.task_id + "\" title=\"Cancel\">",