diff --git a/invokeai/frontend/web/src/services/api/endpoints/images.ts b/invokeai/frontend/web/src/services/api/endpoints/images.ts index dc17b28798..9901003f28 100644 --- a/invokeai/frontend/web/src/services/api/endpoints/images.ts +++ b/invokeai/frontend/web/src/services/api/endpoints/images.ts @@ -262,7 +262,9 @@ export const imagesApi = api.injectEndpoints({ const isChangingFromIntermediate = changes.is_intermediate === false; // do not add intermediates to gallery cache - if (is_intermediate && !isChangingFromIntermediate) return; + if (is_intermediate && !isChangingFromIntermediate) { + return; + } const categories = IMAGE_CATEGORIES.includes(image_category) ? IMAGE_CATEGORIES