app/views/lookbook/nav/_leaf.html.erb in lookbook-0.3.0.beta.2 vs app/views/lookbook/nav/_leaf.html.erb in lookbook-0.3.0

- old
+ new

@@ -1,8 +1,9 @@ <% path = show_path leaf.path display ||= :leaf +label ||= leaf.label %> <li x-data="navLeaf" :class="{hidden}" x-init="matchers = <%= leaf.matchers.to_json %>; path = '<%= path %>'; setActive()" @popstate.window="setActive"> <a href="<%= path %>" class="pr-3 py-[5px] flex items-center w-full group transition hover:bg-gray-200 hover:bg-opacity-50" style="<%= nav_padding_style(depth) %>" @@ -13,9 +14,9 @@ <svg class="feather flex-none group-hover:text-indigo-800 transition w-3.5 h-3.5"> <use xlink:href="/lookbook-assets/feather-sprite.svg#<%= display == :node ? "layers" : "eye" %>" /> </svg> </div> <div class="truncate whitespace-nowrap <%= "font-bold" if display == :node %>"> - <%= leaf.label %> + <%= label %> </div> </a> </li> \ No newline at end of file