From 66126996e70fe508f04e35efce042c779a367b1e Mon Sep 17 00:00:00 2001 From: Daniel Abrao Date: Sat, 13 Apr 2024 23:57:02 -0300 Subject: [PATCH] Import image selection --- .../gallery/components/CurrentImage/CurrentImageButtons.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/invokeai/frontend/web/src/features/gallery/components/CurrentImage/CurrentImageButtons.tsx b/invokeai/frontend/web/src/features/gallery/components/CurrentImage/CurrentImageButtons.tsx index 896b6efef7..dc6d80f5ad 100644 --- a/invokeai/frontend/web/src/features/gallery/components/CurrentImage/CurrentImageButtons.tsx +++ b/invokeai/frontend/web/src/features/gallery/components/CurrentImage/CurrentImageButtons.tsx @@ -51,6 +51,7 @@ const CurrentImageButtons = () => { const shouldShowImageDetails = useAppSelector((s) => s.ui.shouldShowImageDetails); const shouldShowProgressInViewer = useAppSelector((s) => s.ui.shouldShowProgressInViewer); const lastSelectedImage = useAppSelector(selectLastSelectedImage); + const selection = useAppSelector((s) => s.gallery.selection); const shouldDisableToolbarButtons = useAppSelector(selectShouldDisableToolbarButtons); const isUpscalingEnabled = useFeatureStatus('upscaling').isFeatureEnabled;