mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
New: Queued Task/Command List View
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
@@ -3,7 +3,7 @@ function isCommandComplete(command) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return command.state === 'complete';
|
||||
return command.status === 'complete';
|
||||
}
|
||||
|
||||
export default isCommandComplete;
|
||||
|
||||
@@ -3,7 +3,7 @@ function isCommandExecuting(command) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return command.state === 'queued' || command.state === 'started';
|
||||
return command.status === 'queued' || command.status === 'started';
|
||||
}
|
||||
|
||||
export default isCommandExecuting;
|
||||
|
||||
@@ -3,10 +3,10 @@ function isCommandFailed(command) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return command.state === 'failed' ||
|
||||
command.state === 'aborted' ||
|
||||
command.state === 'cancelled' ||
|
||||
command.state === 'orphaned';
|
||||
return command.status === 'failed' ||
|
||||
command.status === 'aborted' ||
|
||||
command.status === 'cancelled' ||
|
||||
command.status === 'orphaned';
|
||||
}
|
||||
|
||||
export default isCommandFailed;
|
||||
|
||||
Reference in New Issue
Block a user