diff options
author | Antoine Huret <huret.antoine@yahoo.fr> | 2019-04-01 12:09:49 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-04-01 12:09:49 +0300 |
commit | 5e10b611299b4a968e51f5a706d60b7d1a9c29b5 (patch) | |
tree | 31c82155c67a70aac4b7de428339c85c2ccde491 /app | |
parent | e5aa2d88248b510b55c909d2ba4ee7b511927c86 (diff) |
add a uniq constraints on issues and mrs labels
Diffstat (limited to 'app')
-rw-r--r-- | app/services/issuable_base_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/issuable_base_service.rb b/app/services/issuable_base_service.rb index 2b2774746a2..95bd83bb03c 100644 --- a/app/services/issuable_base_service.rb +++ b/app/services/issuable_base_service.rb @@ -113,7 +113,7 @@ class IssuableBaseService < BaseService new_label_ids -= remove_label_ids if remove_label_ids end - new_label_ids + new_label_ids.uniq end def available_labels |