Skip to content

Commit 301d8a3

Browse files
committed
Include isMilestone in isConversationList
Fixes refined-github/refined-github#3715
1 parent 59527fa commit 301d8a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ collect.set('isIssue', [
103103
'https://github.com/sindresorhus/refined-github/issues/146',
104104
]);
105105

106-
export const isConversationList = (url: URL | HTMLAnchorElement | Location = location): boolean => isGlobalConversationList(url) || isRepoConversationList(url);
106+
export const isConversationList = (url: URL | HTMLAnchorElement | Location = location): boolean =>
107+
isGlobalConversationList(url) ||
108+
isRepoConversationList(url) ||
109+
isMilestone(url);
107110
collect.set('isConversationList', combinedTestOnly);
108111

109112
export const isConversation = (url: URL | HTMLAnchorElement | Location = location): boolean => isIssue(url) || isPRConversation(url);

0 commit comments

Comments
 (0)