Skip to content

Commit

Permalink
Fix products/index component for products without a master price
Browse files Browse the repository at this point in the history
Co-Authored-By: Rainer Dema <[email protected]>
  • Loading branch information
elia and rainerdema committed Dec 13, 2023
1 parent 473510a commit 7a9661b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def price_column
{
header: :price,
data: ->(product) do
content_tag :div, product.master.display_price.to_html
content_tag :div, product.master.display_price&.to_html
end
}
end
Expand Down

0 comments on commit 7a9661b

Please sign in to comment.