diff options
author | 2021-08-13 14:49:08 +0200 | |
---|---|---|
committer | 2021-08-13 08:49:08 -0400 | |
commit | b2c6300972c70d5eadd287b0d0d4af9e98b66fa9 (patch) | |
tree | 2af8fccf24213b423844d0d6faf4e0b003b1f352 /source/features/bugs-tab.tsx | |
parent | 0a6f0571619ce6b84dad4645eebcb6b9213a1800 (diff) | |
download | refined-github-b2c6300972c70d5eadd287b0d0d4af9e98b66fa9.tar.gz refined-github-b2c6300972c70d5eadd287b0d0d4af9e98b66fa9.tar.zst refined-github-b2c6300972c70d5eadd287b0d0d4af9e98b66fa9.zip |
Support `kind:bug` label in `bugs-tab` (#4650)
Diffstat (limited to '')
-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 f7e2e5c6..f59a2b40 100644 --- a/source/features/bugs-tab.tsx +++ b/source/features/bugs-tab.tsx @@ -11,7 +11,7 @@ import {getRepo} from '../github-helpers'; import SearchQuery from '../github-helpers/search-query'; import abbreviateNumber from '../helpers/abbreviate-number'; -const supportedLabels = /^(bug|confirmed-bug|type:bug|:\w+:bug)$/; +const supportedLabels = /^(bug|confirmed-bug|type:bug|kind:bug|:\w+:bug)$/; const getBugLabelCacheKey = (): string => 'bugs-label:' + getRepo()!.nameWithOwner; const getBugLabel = async (): Promise<string | undefined> => cache.get<string>(getBugLabelCacheKey()); const isBugLabel = (label: string): boolean => supportedLabels.test(label.replace(/\s/g, '')); |