app/components/solidus_admin/layout/navigation/item/component.html.erb in solidus_admin-0.3.1 vs app/components/solidus_admin/layout/navigation/item/component.html.erb in solidus_admin-0.3.2

- old
+ new

@@ -1,9 +1,9 @@ <li class="group <%= "active" if active? %>"> <a href="<%= path %>" - aria-current="<%= @item.current?(@url_helpers, @fullpath) ? "page" : "false" %>" + aria-current="<%= @item.current?(self, @fullpath) ? "page" : "false" %>" class=" flex gap-3 items-center py-1 px-3 rounded hover:text-red-500 hover:bg-gray-50 <%= "text-red-600 bg-gray-50" if active? %> @@ -18,9 +18,9 @@ <%= @item.name %> </a> <% if @item.children? %> <ul class="flex flex-col gap-0.5 pt-0.5 <%= "hidden" unless active? %>"> - <%= render self.class.with_collection(@item.children, url_helpers: @url_helpers, fullpath: @fullpath) %> + <%= render self.class.with_collection(@item.children, fullpath: @fullpath) %> </ul> <% end %> </li>