From 885bc46d889c365fdb3d38ec50ee675c3cb9490b Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 1 Aug 2023 11:45:41 +0100 Subject: [PATCH] Update tax_category in product v3 table --- app/views/admin/products_v3/_table.html.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index a1b8b9fd6c..bab5f02c74 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -41,7 +41,6 @@ %td.align-left .line-clamp-1= product.taxons.map(&:name).join(', ') %td.align-left - .line-clamp-1= product.tax_category&.name || "None" # TODO: convert to dropdown, else translate hardcoded string. %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) - product.variants.each do |variant| @@ -61,7 +60,7 @@ %td.align-left -# empty %td.align-left - -# empty + .line-clamp-1= variant.tax_category&.name || "None" # TODO: convert to dropdown, else translate hardcoded string. %td.align-left -# empty