diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue index 247d94928f935aff309e6e2a123a8ee91d2806e3..2b9096903b9d38864a3ea73d388df4474f6ee8ef 100644 --- a/src/components/DictionaryView.vue +++ b/src/components/DictionaryView.vue @@ -166,7 +166,7 @@ function navigate_to_query(self, word) { // Get article IDs 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 = [] for (const d in article_ids) { article_ids[d].forEach(i => unwrapped.push({