From 80bcf7c790aadc40e52e91ac146c758a727bd8c2 Mon Sep 17 00:00:00 2001
From: Henrik Askjer <henrik.askjer@uib.no>
Date: Tue, 7 Dec 2021 18:56:05 +0100
Subject: [PATCH] cleanup

---
 src/components/DictionaryView.vue | 2 --
 src/components/SearchToolbar.vue  | 2 --
 2 files changed, 4 deletions(-)

diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue
index 7b7de2eb..db0c0f8e 100644
--- a/src/components/DictionaryView.vue
+++ b/src/components/DictionaryView.vue
@@ -176,7 +176,6 @@ function navigate_to_query(self, word) {
 
             let total = response.data.articles.bm ? response.data.articles.bm.length : 0
             total += response.data.articles.nn ? response.data.articles.nn.length : 0
-            console.log("total", total)
 
             if (total == 0) {
               throw new QueryException(query)
@@ -282,7 +281,6 @@ export default {
         this.error = this.$t('error.network')
       }
       else if (error.response) {
-        console.log(error.response.status)
         this.error = this.$t('error.server', {code: error.response.status})
       } else {
         this.error = this.$t('error.generic')
diff --git a/src/components/SearchToolbar.vue b/src/components/SearchToolbar.vue
index 8ddb9e67..91fe40bd 100644
--- a/src/components/SearchToolbar.vue
+++ b/src/components/SearchToolbar.vue
@@ -42,13 +42,11 @@ export default {
         return  ["ALL", "NOUN", "PRON","DET","ADJ","CCONJ","SCONJ", "ADV", "VERB", "INTJ"].map(text =>{
           return {text: this.$t("pos." + text ), value: text}
         })
-
       },
       scope_items: function() {
         return ["w", "x", "wx"].map(text => {
           return {text: this.$t("scope." + text), value: text}
         })
-        
       }
     },
     methods: {
-- 
GitLab