app/components/avo/panel_component.html.erb in avo-3.3.5 vs app/components/avo/panel_component.html.erb in avo-3.3.6
- old
+ new
@@ -7,9 +7,14 @@
<%= helpers.render_avo_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-semibold text-gray-800 truncate items-center flex flex-1" data-target="title">
<span><%= @name %></span>
+ <% if @reloadable %>
+ <%= button_tag data: { controller: "panel-refresh", action: "click->panel-refresh#refresh" } do %>
+ <%= svg "heroicons/outline/arrow-path", class: "ml-2 text-2xl h-6 " %>
+ <% end %>
+ <% end %>
</div>
<% if description.present? %>
<div class="text-sm tracking-normal font-medium text-gray-600" data-target="description">
<%== description %>
</div>