mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-18 16:38:10 +01:00
fix: conflicting fetch with /api/convos
This commit is contained in:
parent
0f54ffd8b4
commit
b97594c000
10 changed files with 199 additions and 90 deletions
|
|
@ -16,9 +16,9 @@ const currentSlice = createSlice({
|
|||
const q = action.payload;
|
||||
state.query = q;
|
||||
|
||||
if (!q || q === '') {
|
||||
if (q === '') {
|
||||
state.search = false;
|
||||
} else {
|
||||
} else if (q?.length > 0 && !state.search) {
|
||||
state.search = true;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue