From 6eeffadee9e05a1d72b7991397cc86313648ee65 Mon Sep 17 00:00:00 2001 From: Simon Kuehn Date: Mon, 18 May 2026 07:57:31 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20hide=20Re-run=20AI=20for=20NeedsReview?= =?UTF-8?q?=20articles=20=E2=80=94=20manual=20review=20required?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- .../Http/Controller/Admin/ArticleCrudController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/Http/Controller/Admin/ArticleCrudController.php b/src/Infrastructure/Http/Controller/Admin/ArticleCrudController.php index d7855d7..140a6f4 100644 --- a/src/Infrastructure/Http/Controller/Admin/ArticleCrudController.php +++ b/src/Infrastructure/Http/Controller/Admin/ArticleCrudController.php @@ -79,7 +79,7 @@ final class ArticleCrudController extends AbstractCrudController ->askConfirmation(new TranslatableMessage('action.rerun_ai_confirm', [], 'admin')) ->displayIf(fn (Article $a) => \in_array( $a->getStatus(), - [ArticleStatus::Draft, ArticleStatus::Ingesting, ArticleStatus::NeedsReview], + [ArticleStatus::Draft, ArticleStatus::Ingesting], true, ) && !$this->jobRepository->hasActiveJobForArticle($a->getId()));