Compare commits

...

1 Commits

Author SHA1 Message Date
psychedelicious
53ad45c864 fix(ui): omit search term when doing optimistic updates 2025-07-05 00:33:09 +10:00

View File

@@ -78,6 +78,8 @@ export const buildOnInvocationComplete = (getState: AppGetState, dispatch: AppDi
// Use the current gallery query args as base, but override board_id and categories for this specific image
const expectedQueryArgs = {
...listImageNamesArg,
// We don't have enough information to do optimistic updates when a search term is present.
search_term: '',
categories: getCategories(imageDTO),
board_id: imageDTO.board_id ?? 'none',
};