uploads: autorefresh thumbnails on multi-file uploads page.

Automatically refresh thumbnails on the multi-file upload page as images
are processed in the background.
This commit is contained in:
evazion
2022-02-15 00:47:21 -06:00
parent 37075988ce
commit 36265dbff0
10 changed files with 32 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
<div class="media-asset-gallery media-asset-gallery-<%= size %>">
<%= tag.div class: ["media-asset-gallery", "media-asset-gallery-#{size}", *classes], "data-size": size do %>
<% if media_assets.empty? %>
<p>No results found.</p>
<% else %>
@@ -10,4 +10,4 @@
<% end %>
<%= footer %>
</div>
<% end %>