From 068bbe3a391e78ca92cc32db2984aefbacd95aa8 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 25 May 2023 00:07:02 +1000 Subject: [PATCH] fix(ui): fix uploads tab in gallery --- .../frontend/web/src/features/gallery/store/uploadsSlice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/gallery/store/uploadsSlice.ts b/invokeai/frontend/web/src/features/gallery/store/uploadsSlice.ts index 2864db2660..5e458503ec 100644 --- a/invokeai/frontend/web/src/features/gallery/store/uploadsSlice.ts +++ b/invokeai/frontend/web/src/features/gallery/store/uploadsSlice.ts @@ -14,7 +14,7 @@ export type UploadsImageDTO = Omit & { }; export const uploadsAdapter = createEntityAdapter({ - selectId: (image) => image.image_category, + selectId: (image) => image.image_name, sortComparer: (a, b) => dateComparator(b.created_at, a.created_at), });