Multiple videos can be deleted using Videos list view.

This commit is contained in:
Roland 2022-09-23 16:43:45 -06:00
parent 69e899e032
commit 00acd9d891
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
7 changed files with 79 additions and 23 deletions

View file

@ -333,8 +333,8 @@ function Archives() {
}
const onDelete = async (e) => {
setDeleteOpen(false);
e.preventDefault();
setDeleteOpen(false);
await deleteArchives(selectedArchives);
await fetchArchives();
setSelectedArchives([]);