From f609ee21a2bc34f32b23b866877101f6767c1789 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sat, 27 May 2023 09:17:35 +1000 Subject: [PATCH] fix(ui): handle intermediates when fetching gallery --- invokeai/frontend/web/src/services/thunks/gallery.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/invokeai/frontend/web/src/services/thunks/gallery.ts b/invokeai/frontend/web/src/services/thunks/gallery.ts index 11960e00d2..384dd7b8e2 100644 --- a/invokeai/frontend/web/src/services/thunks/gallery.ts +++ b/invokeai/frontend/web/src/services/thunks/gallery.ts @@ -25,6 +25,7 @@ export const receivedResultImagesPage = createAppAsyncThunk< const response = await ImagesService.listImagesWithMetadata({ imageType: 'results', imageCategory: 'general', + isIntermediate: false, page: nextPage + pageOffset, perPage: IMAGES_PER_PAGE, }); @@ -55,6 +56,7 @@ export const receivedUploadImagesPage = createAppAsyncThunk< const response = await ImagesService.listImagesWithMetadata({ imageType: 'uploads', imageCategory: 'general', + isIntermediate: false, page: nextPage + pageOffset, perPage: IMAGES_PER_PAGE, });