mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 02:48:38 -04:00
Deleting archives by file group id, rather than archive id.
This commit is contained in:
parent
dc23278afb
commit
a8b756b01a
1 changed files with 1 additions and 1 deletions
|
|
@ -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([]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue