mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
@@ -102,8 +102,8 @@ export const determineMentionType = ({
|
||||
return MentionType.PullRequest;
|
||||
}
|
||||
if (
|
||||
/\/-\/issues\/\d+/.test(pathname) ||
|
||||
(/\/-\/issues\/?$/.test(pathname) && hasShowParam)
|
||||
/\/-\/(issues|work_items)\/\d+/.test(pathname) ||
|
||||
(/\/-\/(issues|work_items)\/?$/.test(pathname) && hasShowParam)
|
||||
) {
|
||||
return MentionType.Issue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user