Business intelligence made simple
Modernized code [skip ci]
Andrew Kane17b33585a99b
diff --git a/app/views/blazer/queries/home.html.erb b/app/views/blazer/queries/home.html.erbindex cd002022..9b51c36c 100644--- a/app/views/blazer/queries/home.html.erb+++ b/app/views/blazer/queries/home.html.erb@@ -136,9 +136,9 @@prepareSearch(listItems)- const queryIds = {}+ const queryIds = new Set()for (const query of queries) {- queryIds[query.id] = true+ queryIds.add(query.id)}if (more) {@@ -149,7 +149,7 @@const newValues = []for (const val of data) {- if (val && !queryIds[val.id]) {+ if (val && !queryIds.has(val.id)) {newValues.push(val)}}