Deleting archives by file group id, rather than archive id.

This commit is contained in:
Roland 2026-04-09 15:29:28 -06:00
parent dc23278afb
commit a8b756b01a
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -1132,7 +1132,7 @@ function ArchivesPage() {
const onDelete = async () => {
const archiveIds = archives.filter(i => selectedArchives.indexOf(i['primary_path']) >= 0)
.map(i => i['data']['id']);
.map(i => i['id']);
await deleteArchives(archiveIds);
await fetchArchives();
setSelectedArchives([]);