From d4dd3cc708eac3781c02bffdc4f07f4018b6d45f Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 8 Aug 2023 14:58:42 +0100 Subject: [PATCH] Update products v3 table --- app/views/admin/products_v3/_product_row.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/products_v3/_product_row.html.haml b/app/views/admin/products_v3/_product_row.html.haml index 1526fb26cf..9ad27681d0 100644 --- a/app/views/admin/products_v3/_product_row.html.haml +++ b/app/views/admin/products_v3/_product_row.html.haml @@ -30,7 +30,7 @@ %td.align-left .content= product.supplier&.name %td.align-left - .content= product.primary_taxon&.name + .content= product.variants.first.primary_taxon&.name %td.align-left %td.align-left .content= product.inherits_properties ? 'YES' : 'NO' #TODO: consider using https://github.com/RST-J/human_attribute_values, else use I18n.t (also below)