Skip to content
Snippets Groups Projects
Commit 3d7bf201 authored by Zheng Meyer's avatar Zheng Meyer
Browse files

clear queryMap after each query

parent 7fa9ecc0
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ export default function QueryCatalogs() {
// Ideally query for each catalog is sent to ESAP API Gateway, and query results is returned
// This is under development in the backend at the moment
queryMap.clear();
queries.forEach((query) => {
queryMap.set(query.catalog, {
catalog: query.catalog,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment