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
This commit is contained in:
luisramos0
2018-12-04 10:55:55 +00:00
parent 60c8147391
commit 7f7e7ea65e
2 changed files with 2 additions and 2 deletions

View File

@@ -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')

View File

@@ -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"}}