From b83658fc3f390f9bdc40f9f2bb9339f025676a95 Mon Sep 17 00:00:00 2001 From: Grigory Date: Sat, 14 Feb 2026 12:26:01 +0500 Subject: [PATCH] Fix state detections on updated PR conversation page --- index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.ts b/index.ts index ae28605..c197b60 100644 --- a/index.ts +++ b/index.ts @@ -296,10 +296,10 @@ TEST: addTests('isQuickPR', [ ]); const getStateLabel = (): string | undefined => $([ - '.State', // Old view - // React versions - '[class^="StateLabel"]', // TODO: Remove after July 2026 '[class^="prc-StateLabel-StateLabel"]', + // TODO: Remove after July 2026 + '[class^="StateLabel"]', + '.State', ].join(','))?.textContent?.trim(); export const isMergedPR = (): boolean => getStateLabel() === 'Merged';