mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix uploads tab in gallery
This commit is contained in:
parent
ad39680feb
commit
068bbe3a39
@ -14,7 +14,7 @@ export type UploadsImageDTO = Omit<ImageDTO, 'image_type'> & {
|
||||
};
|
||||
|
||||
export const uploadsAdapter = createEntityAdapter<UploadsImageDTO>({
|
||||
selectId: (image) => image.image_category,
|
||||
selectId: (image) => image.image_name,
|
||||
sortComparer: (a, b) => dateComparator(b.created_at, a.created_at),
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user