mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-18 02:41:41 -05:00
fix(ui): reset page when search term changes
This commit is contained in:
@@ -122,6 +122,7 @@ export const gallerySlice = createSlice({
|
||||
},
|
||||
searchTermChanged: (state, action: PayloadAction<string>) => {
|
||||
state.searchTerm = action.payload;
|
||||
state.offset = 0;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user