From 3941756f21f8926aeecab16bc2197a4012ac9f1e Mon Sep 17 00:00:00 2001
From: Henrik Askjer <henrik.askjer@uib.no>
Date: Tue, 16 Nov 2021 13:53:01 +0100
Subject: [PATCH] cleanup

---
 src/components/DictionaryView.vue | 2 --
 src/components/SearchResults.vue  | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue
index 8093fec9..f6564055 100644
--- a/src/components/DictionaryView.vue
+++ b/src/components/DictionaryView.vue
@@ -168,7 +168,6 @@ function load_articles(self, query, offset, n, dict) {
 
   if (n > 0) {
     article_IDs = article_IDs.slice(offset, n)
-    console.log("ARTICLES", dict,article_IDs)
     return Promise.all(article_IDs.map((article_id) => {
       return axios.get(`${ARTICLE_ENDPOINT}${dict}/article/${article_id}.json`)
 
@@ -285,7 +284,6 @@ export default {
       if (this.search_results.nn) {
         return this.search_results.nn.length
       }
-      console.log("TOTAL", total)
       return total
 
       }
diff --git a/src/components/SearchResults.vue b/src/components/SearchResults.vue
index f560eed8..0a7370e8 100644
--- a/src/components/SearchResults.vue
+++ b/src/components/SearchResults.vue
@@ -46,15 +46,12 @@ export default {
       return ''
     },
     bm_hash: function(){
-      console.log("HASH_B;")
       return this.results_bm.reduce((hash, hit) => (hash + hit.article_id) % 10000, 0)
     },
     nn_hash: function(){
-      console.log("HASH_NN")
       return this.results_nn.reduce((hash, hit) => (hash + hit.article_id) % 10000, 0)
     },
     count_bm: function(){
-      console.log(this.meta)
       return this.meta["bm"]["total"]
     },
     count_nn: function(){
-- 
GitLab