From 38d9f4f1da7ab308cc34610e7edee3255dc60f65 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 7 Aug 2023 15:33:34 +0100 Subject: [PATCH] Update product v3 table --- app/views/admin/products_v3/_table.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index bab5f02c74..779f9c5275 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -39,7 +39,7 @@ %td.align-left .line-clamp-1= product.supplier.name %td.align-left - .line-clamp-1= product.taxons.map(&:name).join(', ') + .line-clamp-1= product.primary_taxon.name %td.align-left %td.align-left .line-clamp-1= product.inherits_properties ? 'YES' : 'NO' #TODO: consider using https://github.com/RST-J/human_attribute_values, else use I18n.t (also below)