mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
[table] Hide properties for variant row
These were a duplicate of the product.
This commit is contained in:
committed by
Jean-Baptiste Bellet
parent
605cb730f7
commit
51189a3138
@@ -59,9 +59,9 @@
|
||||
%td.align-left
|
||||
.line-clamp-1= variant.product.supplier.name # same as product
|
||||
%td.align-left
|
||||
.line-clamp-1= variant.product.taxons.map(&:name).join(', ') # same as product
|
||||
-# empty
|
||||
%td.align-left
|
||||
.line-clamp-1= variant.tax_category&.name
|
||||
-# empty
|
||||
%td.align-left
|
||||
.line-clamp-1= variant.product.inherits_properties ? 'YES' : 'NO' # same as product
|
||||
-# empty
|
||||
|
||||
|
||||
Reference in New Issue
Block a user