diff options
author | Toon Claes <toon@gitlab.com> | 2017-05-09 10:59:18 +0200 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-05-09 11:36:45 +0200 |
commit | 69b10e1695bd68b570bc9993777b0d1446e85a57 (patch) | |
tree | a40f0a2d52ca80cd00b7e6d4db09e83d58e1a972 /app/assets/javascripts/vue_shared/components/commit.js | |
parent | 7ea12d8067357f8e846e26b05a1dc4ab3d5a5a93 (diff) | |
download | gitlab-ce-69b10e1695bd68b570bc9993777b0d1446e85a57.tar.gz |
Fallback to default pattern when note does not belong to projecttc-fix-snippets-notes-spec
In commit 020295ff a regex was added to quickly determine if mentionables might
be referenced. But this didn't take into account the note might not belong to a
project. So when it doesn't belong to a project, assume the default issue
tracker is used, and use DEFAULT_PATTERN to check if there are mentionables.
Fixes gitlab-org/gitlab-ce#31993
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/commit.js')
0 files changed, 0 insertions, 0 deletions