admins: fix laboratory setting

dev_ec^2
p31729568 6 years ago
parent e1f8763bc7
commit e3314e7508

@ -30,7 +30,7 @@ class Admins::SaveLaboratorySettingService < ApplicationService
hash = {}
hash[:name] = strip nav[:name]
hash[:link] = strip nav[:link]
hash[:hidden] = nav[:hidden].to_s == 0
hash[:hidden] = nav[:hidden].to_s == '0'
hash
end
end

Loading…
Cancel
Save