Skip to content

Commit 5a90fc9

Browse files
committed
Update Browser.react.js
1 parent 64dd44f commit 5a90fc9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/dashboard/Data/Browser/Browser.react.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,12 @@ class Browser extends DashboardView {
943943
}
944944

945945
async fetchData(source, filters = new List()) {
946+
this.loadingFilters = JSON.stringify(filters.toJSON());
946947
const data = await this.fetchParseData(source, filters);
948+
if (this.loadingFilters !== JSON.stringify(filters.toJSON())) {
949+
return;
950+
}
951+
947952
const filteredCounts = { ...this.state.filteredCounts };
948953
if (filters.size > 0) {
949954
if (this.state.isUnique) {

0 commit comments

Comments
 (0)