Skip to content

Commit

Permalink
Use keys for policySimulation when single quad is rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
karelhala committed Mar 15, 2018
1 parent 166dd42 commit 951aed2
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 951aed2

Please sign in to comment.