Radarr/frontend/src/Utilities/Command/isCommandExecuting.js
Qstick 60bb0ac063 New: Queued Task/Command List View
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2018-08-30 23:07:50 -04:00

9 lines
188 B
JavaScript

function isCommandExecuting(command) {
if (!command) {
return false;
}
return command.status === 'queued' || command.status === 'started';
}
export default isCommandExecuting;