Commit 3bc012db authored by Tomasz Maczukin's avatar Tomasz Maczukin

Fix GitlabV::isibilityLevel::level_name method

parent 7cb442ee
...@@ -55,7 +55,7 @@ module Gitlab ...@@ -55,7 +55,7 @@ module Gitlab
def level_name(level) def level_name(level)
level_name = 'Unknown' level_name = 'Unknown'
options.each do |name, lvl| options.each do |name, lvl|
level_name = name if lvl == level level_name = name if lvl == level.to_i
end end
level_name level_name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment