Skip to content

Commit

Permalink
Merge pull request #3630 from karelhala/policySimSingle
Browse files Browse the repository at this point in the history
Use keys for policySimulation when single quad is rendered
  • Loading branch information
martinpovolny committed Mar 25, 2018
2 parents 5c6d571 + 951aed2 commit a360dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/quadicon_helper.rb
Expand Up @@ -237,7 +237,7 @@ def quadicon_tag(options = {}, &block)
end

def img_for_compliance(item)
QuadiconHelper::Decorator.compliance_img(item.passes_profiles?(session[:policies]))
QuadiconHelper::Decorator.compliance_img(item.passes_profiles?(session[:policies].keys))
end

def img_for_vendor(item)
Expand Down

0 comments on commit a360dac

Please sign in to comment.