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

@@ -29,6 +29,10 @@ class UploadMediaAsset < ApplicationRecord
q.apply_default_order(params)
end
def loading?
pending? || processing?
end
def finished?
active? || failed?
end