diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/features/bugs-tab.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/bugs-tab.tsx b/source/features/bugs-tab.tsx index 0145b9cf..781c3e7b 100644 --- a/source/features/bugs-tab.tsx +++ b/source/features/bugs-tab.tsx @@ -12,7 +12,7 @@ import SearchQuery from '../github-helpers/search-query'; import abbreviateNumber from '../helpers/abbreviate-number'; async function highlightBugsTabOnIssuePage(): Promise<void | false> { - if (await countBugs() > 0 && !await elementReady('.sidebar-labels .IssueLabel[href$="/bug" i]')) { + if (await countBugs() === 0 || !await elementReady('.sidebar-labels .IssueLabel[href$="/bug" i]')) { return false; } |