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

Merge branch 'hotfix-lang-return-to-results' into dev

parents deb1d052 9f9e77b6
No related branches found
No related tags found
No related merge requests found
......@@ -241,6 +241,7 @@ export default {
monthly_bm: null,
monthly_nn: null,
event: null,
previous: this.$route.fullPath,
}
},
computed: {
......@@ -309,7 +310,7 @@ export default {
}
},
details_click: function(item) {
item.article.source = this.$route.path
item.article.source = this.previous
this.article = item.article
history.replaceState({article: this.article, search_results: [], lang: this.lang, error: null}, '')
},
......@@ -317,6 +318,11 @@ export default {
this.article = null
}
},
watch: {
$route(to, from) {
this.previous = from.fullPath
}
},
mounted: function(){
let self = this
this.lang = 'bm,nn'
......
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