summaryrefslogtreecommitdiff
path: root/source/features/bugs-tab.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/bugs-tab.tsx')
-rw-r--r--source/features/bugs-tab.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/features/bugs-tab.tsx b/source/features/bugs-tab.tsx
index f59a2b40..528f07a8 100644
--- a/source/features/bugs-tab.tsx
+++ b/source/features/bugs-tab.tsx
@@ -130,8 +130,7 @@ async function init(): Promise<void | false> {
bugsCounter.title = '';
// Update Bugs’ link
- // TODO[2021-8-15] Drop `?? 'bug'`, it's only needed until `countPromise` refreshes one time
- new SearchQuery(bugsTab).add(`label:${SearchQuery.escapeValue(await getBugLabel() ?? 'bug')}`);
+ new SearchQuery(bugsTab).add(`label:${SearchQuery.escapeValue((await getBugLabel())!)}`);
// In case GitHub changes its layout again #4166
if (issuesTab.parentElement!.tagName === 'LI') {