mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 15:21:22 +02:00
fix: relinked files now appear in FilePond UI immediately
Switched from pond.addFile(type:'limbo') to pond.addFiles([{source, options:{type:'local'}}])
in both XamxamRelinkFile and XamxamRelinkPeerTube.
addFile with type 'limbo' doesn't trigger server.load to fetch the file
for the preview/thumbnail. The data-existing-files format (type:'local')
correctly tells FilePond to call server.load for the file identified by
the source (DB ID), rendering it properly in the pool.
This commit is contained in:
@@ -14,3 +14,4 @@
|
||||
- [x] Fix cleanup stats: use sidecar JSON for restorability classification (not DB row existence)
|
||||
- [x] Remove destructive HTMX fragment refresh from relink flow (close modal only, pond.addFile in-place)
|
||||
- [x] Merge corbeille lists into single table with status column + bulk restore button
|
||||
- [x] Fix relinked file not appearing in FilePond UI: use addFiles([{type:'local'}]) instead of addFile(type:'limbo')
|
||||
|
||||
Reference in New Issue
Block a user