summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorArinde Eniola <eniolaarinde1@gmail.com>2016-04-14 18:52:40 +0100
committerArinde Eniola <eniolaarinde1@gmail.com>2016-04-14 18:52:40 +0100
commitd0ad566972dc5c47390df1720cdee8088fda6c73 (patch)
tree305e007fdc0a993d810e32f673f51e5d751d47c5 /app
parent0debd9c7d3db445efc89e72d7a1192e5a40d5044 (diff)
downloadgitlab-ce-d0ad566972dc5c47390df1720cdee8088fda6c73.tar.gz
rename the test file
Diffstat (limited to 'app')
-rw-r--r--app/helpers/issuables_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb
index 14e624cb7cf..b363ed3076c 100644
--- a/app/helpers/issuables_helper.rb
+++ b/app/helpers/issuables_helper.rb
@@ -29,7 +29,7 @@ module IssuablesHelper
default_label
end
else
- if current_labels.nil?
+ if current_labels.nil? || current_labels.empty?
default_label
else
current_labels