diff --git a/invokeai/frontend/web/src/features/gallery/store/gallerySelectors.ts b/invokeai/frontend/web/src/features/gallery/store/gallerySelectors.ts index b9d78eb4c3..76ed4c6659 100644 --- a/invokeai/frontend/web/src/features/gallery/store/gallerySelectors.ts +++ b/invokeai/frontend/web/src/features/gallery/store/gallerySelectors.ts @@ -22,7 +22,7 @@ export const selectListImagesQueryArgs = createMemoizedSelector( is_intermediate: false, starred_first: gallery.starredFirst, order_dir: gallery.orderDir, - search_term: gallery.searchTerm.length ? gallery.searchTerm : undefined, + search_term: gallery.searchTerm, } : skipToken );