app/components/avo/panel_component.html.erb in avo-1.3.0 vs app/components/avo/panel_component.html.erb in avo-1.3.1

- old
+ new

@@ -1,10 +1,12 @@ <div <%== data_attributes %>> <div class="mb-6"> <div> - <div class="breadcrumbs"> - <%= helpers.render_breadcrumbs(separator: helpers.svg('chevron-right', class: 'inline-block h-3 stroke-current relative top-[-1px] ml-1' )) if Avo.configuration.display_breadcrumbs %> - </div> + <% if show_breadcrumbs? %> + <div class="breadcrumbs"> + <%= helpers.render_breadcrumbs(separator: helpers.svg('chevron-right', class: 'inline-block h-3 stroke-current relative top-[-1px] ml-1' )) if Avo.configuration.display_breadcrumbs %> + </div> + <% end %> <div class="text-2xl tracking-normal font-bold text-gray-800 truncate"> <%= @title %> </div> </div>