app/components/solidus_admin/layout/navigation/component.rb in solidus_admin-0.3.1 vs app/components/solidus_admin/layout/navigation/component.rb in solidus_admin-0.3.2

- old
+ new

@@ -7,10 +7,10 @@ items: SolidusAdmin::Config.menu_items ) @logo_path = logo_path @items = items.map do |attrs| children = attrs[:children].to_a.map { SolidusAdmin::MenuItem.new(**_1, top_level: false) } - SolidusAdmin::MenuItem.new(**attrs, children: children, top_level: true) + SolidusAdmin::MenuItem.new(**attrs, children:, top_level: true) end @store = store end def before_render