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

clear similar and inflection if error

parent 778761a7
No related branches found
No related tags found
No related merge requests found
......@@ -435,6 +435,8 @@ export default {
this.waiting_for_articles = false
this.no_results = false
this.search_results = {}
this.inflection_suggestions = []
this.similar = []
if (error.response) {
if (error.response.status == 404) {
if (article) {
......
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