From a68072856d4cc1c0b81e48c9d548a097917d433a Mon Sep 17 00:00:00 2001
From: "Henrik.Askjer" <henrik.askjer@uib.no>
Date: Mon, 30 Aug 2021 11:42:55 +0200
Subject: [PATCH] Prevent front page from showing when loading articles

---
 src/components/DictionaryView.vue | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue
index 1418f1c9..fab7fc60 100644
--- a/src/components/DictionaryView.vue
+++ b/src/components/DictionaryView.vue
@@ -208,6 +208,7 @@ export default {
         this.search_results = event.articles.map(a => Object.assign(a, {source: source}))
         this.article = null
         this.error = null
+        this.waiting_for_articles = true
         history.replaceState({article: this.article, search_results: this.search_results, lang: this.lang, error: this.error}, '')
         // Attempt at fixing issue with articles not loading
         navigate_to_word(this, event.match)
-- 
GitLab