app/components/avo/index/resource_grid_component.html.erb in avo-2.21.0 vs app/components/avo/index/resource_grid_component.html.erb in avo-2.21.1.pre.issue1444
- old
+ new
@@ -7,8 +7,8 @@
<% end %>
<% end %>
</div>
<% else %>
<div class="bg-white rounded shadow-panel">
- <%= helpers.empty_state by_association: params[:related_name].present?, view_type: :grid %>
+ <%= helpers.empty_state resource_name: @resource.name.downcase.pluralize, related_name: params[:related_name], view_type: :grid %>
</div>
<% end %>