From 9efcb2d534d79eb74a33f8278987a53669aa5636 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 19 Mar 2026 17:56:33 -0400 Subject: [PATCH] fix: GitLab work_items paste detection (#11820) closes #11819 --- app/utils/mention.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utils/mention.ts b/app/utils/mention.ts index 53e82705af..8e6c4e2b1f 100644 --- a/app/utils/mention.ts +++ b/app/utils/mention.ts @@ -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; }