diff options
author | 2020-07-03 00:29:52 +0200 | |
---|---|---|
committer | 2020-07-03 00:29:52 +0200 | |
commit | daf633137ec08e6f5647a6f8bb0b02d5dce58ef9 (patch) | |
tree | a4263d323bd4b963a7e6168800a0126f3f6b9c2d /source/features/split-issue-pr-search-results.tsx | |
parent | 19e2a375c34c0dc18462a2b8a9bb4ff6bb9c6590 (diff) | |
download | refined-github-daf633137ec08e6f5647a6f8bb0b02d5dce58ef9.tar.gz refined-github-daf633137ec08e6f5647a6f8bb0b02d5dce58ef9.tar.zst refined-github-daf633137ec08e6f5647a6f8bb0b02d5dce58ef9.zip |
Rename `discussion` → `conversation` (#3308)
Diffstat (limited to 'source/features/split-issue-pr-search-results.tsx')
-rw-r--r-- | source/features/split-issue-pr-search-results.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/split-issue-pr-search-results.tsx b/source/features/split-issue-pr-search-results.tsx index 7e40a2f1..af66a012 100644 --- a/source/features/split-issue-pr-search-results.tsx +++ b/source/features/split-issue-pr-search-results.tsx @@ -12,9 +12,9 @@ function cleanLinks(): void { } } -type GitHubDiscussionType = 'pr' | 'issue'; +type GitHubConversationType = 'pr' | 'issue'; -function createUrl(type: GitHubDiscussionType, pathname = location.pathname): string { +function createUrl(type: GitHubConversationType, pathname = location.pathname): string { const url = new URL(pathname, location.origin); url.searchParams.set('q', pageSearchQuery.get() + ` is:${type}`); url.searchParams.set('type', 'Issues'); |