mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-01 12:45:09 -05:00
Pass an array of selected images instead of imageDTO
This commit is contained in:
committed by
psychedelicious
parent
66126996e7
commit
ec67ba61db
@@ -103,8 +103,8 @@ const CurrentImageButtons = () => {
|
||||
if (!imageDTO) {
|
||||
return;
|
||||
}
|
||||
dispatch(imagesToDeleteSelected([imageDTO]));
|
||||
}, [dispatch, imageDTO]);
|
||||
dispatch(imagesToDeleteSelected(selection));
|
||||
}, [dispatch, imageDTO, selection]);
|
||||
|
||||
useHotkeys(
|
||||
'Shift+U',
|
||||
|
||||
Reference in New Issue
Block a user