summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/labels_select.js
diff options
context:
space:
mode:
authorJose <jvargas@gitlab.com>2018-06-04 16:39:44 -0500
committerJose <jvargas@gitlab.com>2018-06-04 16:39:44 -0500
commit11a9389c4f6c72509c0c4aa3be6227a972adab78 (patch)
tree2dfffcca11d839d6c26fbe5dc0b611deaf59b880 /app/assets/javascripts/labels_select.js
parent3571b97effd81f9a84f238f918544c6e5c625b76 (diff)
downloadgitlab-ce-11a9389c4f6c72509c0c4aa3be6227a972adab78.tar.gz
fix labels showing up with no titlejivl-fix-labels-not-displayed-after-selection
Diffstat (limited to 'app/assets/javascripts/labels_select.js')
-rw-r--r--app/assets/javascripts/labels_select.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/labels_select.js b/app/assets/javascripts/labels_select.js
index eafdaf4a672..7d0ff53f366 100644
--- a/app/assets/javascripts/labels_select.js
+++ b/app/assets/javascripts/labels_select.js
@@ -426,7 +426,7 @@ export default class LabelsSelect {
const tpl = _.template([
'<% _.each(labels, function(label){ %>',
'<a href="<%- issueUpdateURL.slice(0, issueUpdateURL.lastIndexOf("/")) %>?label_name[]=<%- encodeURIComponent(label.title) %>">',
- '<span class="label has-tooltip color-label" title="<%- label.description %>" style="background-color: <%- label.color %>; color: <%- label.text_color %>;">',
+ '<span class="badge label has-tooltip color-label" title="<%- label.description %>" style="background-color: <%- label.color %>; color: <%- label.text_color %>;">',
'<%- label.title %>',
'</span>',
'</a>',