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