diff --git a/tmgmt.module b/tmgmt.module index c60e0af..ff34b77 100644 --- a/tmgmt.module +++ b/tmgmt.module @@ -440,7 +440,7 @@ function tmgmt_translator_load_available($job) { */ function tmgmt_translator_busy($translator) { return (bool) \Drupal::entityQuery('tmgmt_job') - ->condition('state', Job::STATE_ACTIVE) + ->condition('state', [Job::STATE_ACTIVE, Job::STATE_CONTINUOUS], 'IN') ->condition('translator', $translator) ->range(0, 1) ->count()