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:
@@ -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\">",
|
||||
|
||||
Reference in New Issue
Block a user