diff --git a/index.ts b/index.ts index 92d55ab..7e1371b 100644 --- a/index.ts +++ b/index.ts @@ -366,7 +366,7 @@ export const isPublicRepo = (): boolean => exists('meta[name="octolytics-dimensi export const isArchivedRepo = (): boolean => Boolean(isRepo() && $('main > .flash-warn')?.textContent!.includes('archived')); -export const isBlank = (): boolean => exists('main .blankslate'); +export const isBlank = (): boolean => exists('main .blankslate:not([hidden] .blankslate)'); export const isRepoTaxonomyIssueOrPRList = (url: URL | HTMLAnchorElement | Location = location): boolean => /^labels\/.+|^milestones\/\d+(?!\/edit)/.test(getRepo(url)?.path!); addTests('isRepoTaxonomyIssueOrPRList', [