app/components/avo/fields/file_field/edit_component.html.erb in avo-3.0.1.beta19 vs app/components/avo/fields/file_field/edit_component.html.erb in avo-3.0.1.beta20
- old
+ new
@@ -1,8 +1,8 @@
<%= field_wrapper **field_wrapper_args do %>
<% if @field.value.present? %>
<div class="mb-2">
- <%= render Avo::Fields::Common::Files::ViewType::GridComponent.new resource: @resource, field: @field %>
+ <%= render Avo::Fields::Common::Files::ViewType::GridItemComponent.new resource: @resource, field: @field %>
</div>
<% end %>
<% if can_upload_file? %>
<%= @form.file_field @field.id,