fix: don't wipe sidebar folder chat list when a refresh overlaps an in-flight fetch (#27535)

This commit is contained in:
G30 2026-07-26 17:28:15 -04:00 committed by GitHub
parent f517cc7172
commit 4ac22b89fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -420,7 +420,7 @@
} finally {
chatsLoading = false;
}
} else {
} else if (!open) {
chats = null;
chatsPage = 1;
hasMoreChats = false;