diff --git a/invokeai/frontend/web/src/features/gallery/components/use-gallery-image-names.ts b/invokeai/frontend/web/src/features/gallery/components/use-gallery-image-names.ts index e1ffe31190..07050bf58d 100644 --- a/invokeai/frontend/web/src/features/gallery/components/use-gallery-image-names.ts +++ b/invokeai/frontend/web/src/features/gallery/components/use-gallery-image-names.ts @@ -5,6 +5,7 @@ import { useGetImageNamesQuery } from 'services/api/endpoints/images'; import { useDebounce } from 'use-debounce'; const getImageNamesQueryOptions = { + refetchOnReconnect: true, selectFromResult: ({ currentData, isLoading, isFetching }) => ({ imageNames: currentData?.image_names ?? EMPTY_ARRAY, isLoading,