admins: fix laboratory setting

dev_ec^2
p31729568 5 years ago
parent e3314e7508
commit a44328403b

@ -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