app/components/solidus_admin/ui/pages/index/component.rb in solidus_admin-0.3.1 vs app/components/solidus_admin/ui/pages/index/component.rb in solidus_admin-0.3.2
- old
+ new
@@ -59,12 +59,12 @@
{
name: search_name,
value: search_params,
url: search_url,
searchbar_key: search_key,
- filters: filters,
- scopes: scopes,
+ filters:,
+ scopes:,
}
end
def render_title
back_url = self.back_url
@@ -78,15 +78,15 @@
def render_table
render component('ui/table').new(
id: stimulus_id,
data: {
class: model_class,
- rows: rows,
+ rows:,
fade: -> { row_fade(_1) },
prev: prev_page_path,
next: next_page_path,
- columns: columns,
- batch_actions: batch_actions,
+ columns:,
+ batch_actions:,
url: -> { row_url(_1) },
},
search: search_options,
sortable: sortable_options,
)