From 9523da61ee66c9bcbf85cbe328fa6ca23a720599 Mon Sep 17 00:00:00 2001 From: Henrik Askjer <henrik.askjer@uib.no> Date: Wed, 12 Jan 2022 14:51:06 +0100 Subject: [PATCH] add comment --- src/components/DictionaryView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue index 247d9492..2b909690 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({ -- GitLab