We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275cb0b commit 9ca8973Copy full SHA for 9ca8973
index.ts
@@ -299,8 +299,7 @@ const getStateLabel = (): string | undefined => $([
299
'.State', // Old view
300
// React versions
301
'[class^="StateLabel"]', // TODO: Remove after July 2026
302
- '[class^="prc-StateLabel-StateLabel'], // PRs
303
- '[data-testid="header-state"]', // Issues
+ '[class^="prc-StateLabel-StateLabel"]',
304
].join(','))?.textContent?.trim();
305
306
export const isMergedPR = (): boolean => getStateLabel() === 'Merged';
0 commit comments