Skip to content
Snippets Groups Projects
Commit 30a4af45 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Cleanup

parent 3973beb4
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,6 @@ ...@@ -88,7 +88,6 @@
if (item) { if (item) {
if (typeof item != 'string') { if (typeof item != 'string') {
let self = this let self = this
console.log(item.lang)
if (item.articles) { if (item.articles) {
axios.get(self.endpoint + 'articles?', {params: {lord: item.match, axios.get(self.endpoint + 'articles?', {params: {lord: item.match,
dict: self.$parent.lang}}) dict: self.$parent.lang}})
...@@ -101,13 +100,11 @@ ...@@ -101,13 +100,11 @@
article.dictionary = dict_tag article.dictionary = dict_tag
article.match = item.match article.match = item.match
item.articles.push(article) item.articles.push(article)
}) })
}) })
} }
) )
} }
console.log(item)
this.items = [] this.items = []
this.suggesting = false this.suggesting = false
......
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