summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-02-21 09:53:44 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-02-21 14:20:08 +0100
commit63bd79f594272d98ce022685f26a47ce0afae9d4 (patch)
treeeaecca72bb9b8afd15512b2461fa156e09944b70 /lib
parentb596dd8fedd9dc8f9487e1e67a52a7b211bd956b (diff)
downloadgitlab-ce-63bd79f594272d98ce022685f26a47ce0afae9d4.tar.gz
Chat slash commands show labels correctlyzj-fix-slash-command-labels
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/chat_commands/presenters/issue_base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/chat_commands/presenters/issue_base.rb b/lib/gitlab/chat_commands/presenters/issue_base.rb
index a0058407fb2..054f7f4be0c 100644
--- a/lib/gitlab/chat_commands/presenters/issue_base.rb
+++ b/lib/gitlab/chat_commands/presenters/issue_base.rb
@@ -32,7 +32,7 @@ module Gitlab
},
{
title: "Labels",
- value: @resource.labels.any? ? @resource.label_names : "_None_",
+ value: @resource.labels.any? ? @resource.label_names.join(', ') : "_None_",
short: true
}
]