Files
leocrm/frontend
Agent Zero 9ecd0e12c8 fix: async race condition in loadMails — responses from old folder were overwriting current folder
- When user switches folders quickly, multiple fetchMails requests are in flight
- Responses arrive out of order, last response wins regardless of which folder it was for
- Now loadMails checks selectedFolderIdRef before applying results
- Only updates mails state if the response is for the currently selected folder
2026-07-20 14:15:08 +02:00
..