diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-21 09:53:44 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-21 14:20:08 +0100 |
commit | 63bd79f594272d98ce022685f26a47ce0afae9d4 (patch) | |
tree | eaecca72bb9b8afd15512b2461fa156e09944b70 /lib | |
parent | b596dd8fedd9dc8f9487e1e67a52a7b211bd956b (diff) | |
download | gitlab-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.rb | 2 |
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 } ] |