app/views/lookbook/nav/_preview.html.erb in lookbook-0.3.0.beta.2 vs app/views/lookbook/nav/_preview.html.erb in lookbook-0.3.0
- old
+ new
@@ -5,7 +5,7 @@
<%= render "./nav/leaf", leaf: example, depth: example.hierarchy_depth + 1 %>
<% end %>
<% end %>
<% else %>
<% example = examples.first %>
- <%= render "./nav/leaf", leaf: example, depth: example.hierarchy_depth, display: :node %>
+ <%= render "./nav/leaf", leaf: example, depth: example.hierarchy_depth, label: node.label, display: :node %>
<% end %>
\ No newline at end of file