This commit is contained in:
gitstart 2022-09-16 04:21:53 +00:00
parent 16e2b22c5b
commit 1c6f6d96e0

View File

@ -21,7 +21,7 @@ export const BulkDeleteButton = ({ selected, onSuccess }) => {
const handleConfirmRemove = async () => {
const { page, pageSize, assetCount, ...others } = query;
const isSelected = selected?.length >= Number(assetCount);
const numOfSelectedPages = Math.ceil(selected?.length / Number(pageSize));
const numOfSelectedPages = Math.ceil(selected.length / Number(pageSize));
const queryParams = {
...others,
pageSize,