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