Merge branch '43598-fix-duplicate-label-load-failure' into 'master'

Fix Group labels load failure when there are duplicate labels present

Closes #43598

See merge request gitlab-org/gitlab-ce!17353
This commit is contained in:
Phil Hughes 2018-02-26 10:02:40 +00:00
commit d1ceb60068
2 changed files with 6 additions and 1 deletions

View file

@ -213,7 +213,7 @@ export default class LabelsSelect {
}
}
if (label.duplicate) {
color = gl.DropdownUtils.duplicateLabelColor(label.color);
color = DropdownUtils.duplicateLabelColor(label.color);
}
else {
if (label.color != null) {

View file

@ -0,0 +1,5 @@
---
title: Fix Group labels load failure when there are duplicate labels present
merge_request: 17353
author:
type: fixed