mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fixed inconsistency with display of unit name for products sold by item
This commit is contained in:
@@ -71,6 +71,8 @@ module VariantUnits
|
||||
|
||||
return variant.display_as if variant_display_as?
|
||||
|
||||
return product.variant_unit_name if product.variant_unit_scale.nil?
|
||||
|
||||
options_text
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user