app/components/avo/fields/file_field/edit_component.html.erb in avo-2.30.1.pre4.pr1683 vs app/components/avo/fields/file_field/edit_component.html.erb in avo-2.30.1
- 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::SingleFileViewerComponent.new resource: @resource, field: @field %>
</div>
<% end %>
<% if can_upload_file? %>
<%= @form.file_field @field.id,