From 7f7e7ea65ef6113e0f0004c32862e62c19bcce70 Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Tue, 4 Dec 2018 10:55:55 +0000 Subject: [PATCH] Remove hide class from the hide button in the inventory list The hide button should not be hidden. The hide css class was no active in v1 but it is in v2, so we need to remove it --- app/views/admin/variant_overrides/_new_products.html.haml | 2 +- app/views/admin/variant_overrides/_products_variants.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/variant_overrides/_new_products.html.haml b/app/views/admin/variant_overrides/_new_products.html.haml index 99827717f5..cf23c22039 100644 --- a/app/views/admin/variant_overrides/_new_products.html.haml +++ b/app/views/admin/variant_overrides/_new_products.html.haml @@ -22,5 +22,5 @@ %button.fullwidth.icon-plus{ ng: { click: "setVisibility(hub_id,variant.id,true)" } } = t('admin.variant_overrides.index.add') %td.hide - %button.fullwidth.hide.icon-remove{ ng: { click: "setVisibility(hub_id,variant.id,false)" } } + %button.fullwidth.icon-remove{ ng: { click: "setVisibility(hub_id,variant.id,false)" } } = t('admin.variant_overrides.index.hide') diff --git a/app/views/admin/variant_overrides/_products_variants.html.haml b/app/views/admin/variant_overrides/_products_variants.html.haml index 7c530a1cb2..bda9725142 100644 --- a/app/views/admin/variant_overrides/_products_variants.html.haml +++ b/app/views/admin/variant_overrides/_products_variants.html.haml @@ -21,7 +21,7 @@ .tag_watcher{ 'track-tag-list' => true } %tags_with_translation{ object: 'variantOverrides[hub_id][variant.id]', form: 'variant_overrides_form' } %td.visibility{ ng: { show: 'columns.visibility.visible' } } - %button.icon-remove.hide.fullwidth{ :type => 'button', ng: { click: "setVisibility(hub_id,variant.id,false)" } } + %button.icon-remove.fullwidth{ :type => 'button', ng: { click: "setVisibility(hub_id,variant.id,false)" } } = t('admin.variant_overrides.index.hide') %td.import_date{ ng: { show: 'columns.import_date.visible' } } %span {{variantOverrides[hub_id][variant.id].import_date | date:"MMMM dd, yyyy HH:mm"}} \ No newline at end of file