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

add comment

parent 45858511
No related branches found
No related tags found
No related merge requests found
...@@ -166,7 +166,7 @@ function navigate_to_query(self, word) { ...@@ -166,7 +166,7 @@ function navigate_to_query(self, word) {
// Get article IDs // Get article IDs
api.get('articles?', {params: {w: query.match || query.q, dict: self.lang, scope: "w", meta: 'n'}}).then((response) => { api.get('articles?', {params: {w: query.match || query.q, dict: self.lang, scope: "w", meta: 'n'}}).then((response) => {
let article_ids = response.data.articles || response.data let article_ids = response.data.articles || response.data // remove latter part when prod api is updated
let unwrapped = [] let unwrapped = []
for (const d in article_ids) { for (const d in article_ids) {
article_ids[d].forEach(i => unwrapped.push({ article_ids[d].forEach(i => unwrapped.push({
......
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