mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
Fix options_text displaying when there is no options_text
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
= "#{raw(line_item.variant.product.name)}"
|
||||
- unless line_item.variant.product.name.include? line_item.name_to_display
|
||||
%span= "- #{raw(line_item.name_to_display)}"
|
||||
- if line_item.options_text
|
||||
- if line_item.options_text.present?
|
||||
= "(#{raw(line_item.options_text)})"
|
||||
|
||||
Reference in New Issue
Block a user