mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Fix for Image Deletion issue
This commit is contained in:
committed by
psychedelicious
parent
ae986bf873
commit
226409107b
@@ -121,7 +121,7 @@ export const addRequestedMultipleImageDeletionListener = () => {
|
||||
effect: async (action, { dispatch, getState }) => {
|
||||
const { imageDTOs, imagesUsage } = action.payload;
|
||||
|
||||
if (imageDTOs.length < 1 || imagesUsage.length < 1) {
|
||||
if (imageDTOs.length <= 1 || imagesUsage.length <= 1) {
|
||||
// handle singles in separate listener
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user