mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Pass an array of selected images instead of imageDTO
This commit is contained in:
parent
66126996e7
commit
ec67ba61db
@ -103,8 +103,8 @@ const CurrentImageButtons = () => {
|
|||||||
if (!imageDTO) {
|
if (!imageDTO) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
dispatch(imagesToDeleteSelected([imageDTO]));
|
dispatch(imagesToDeleteSelected(selection));
|
||||||
}, [dispatch, imageDTO]);
|
}, [dispatch, imageDTO, selection]);
|
||||||
|
|
||||||
useHotkeys(
|
useHotkeys(
|
||||||
'Shift+U',
|
'Shift+U',
|
||||||
|
Loading…
Reference in New Issue
Block a user