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

Prevent front page from showing when loading articles

parent e124a881
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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