app/views/lookbook/components/_nav_preview.html.erb in lookbook-0.6.1 vs app/views/lookbook/components/_nav_preview.html.erb in lookbook-0.7.0

- old
+ new

@@ -1,5 +1,5 @@ -<% examples = node.get_examples.reject(&:hidden?) %> +<% examples = node.examples.reject(&:hidden?) %> <% if examples.many? %> <%= component "nav_group", node: node, path: show_path(examples.first.path) do %> <% examples.each do |example| %> <%= component "nav_item", item: example, depth: example.hierarchy_depth + 1 %> <% end %>