-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backend): cancel prior http calls to avoid inconsistent data shown
- when user calls multiple requests, that could happen after typing new input search term in a filter before the previous query is finished and/or calls the (Enter) key after typing his search term. Calling and queueing multiple queries might render the grid multiple times with different dataset and produces a flashing effect, it could also in some cases display incorrect data, that could happen if for example we have 2 queries calle in sequence and query 2 resolves before query 1, that in terms end up displaying the wrong dataset
- Loading branch information
1 parent
6de44e6
commit f9aaf54
Showing
4 changed files
with
38 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters