Skip to content
Snippets Groups Projects
Commit b9a732c7 authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

skipp ajax når det ikke er noe i path

parent d7b23690
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
self.search_results = response.data self.search_results = response.data
}) })
} }
else else if(this.article_id)
{ {
axios.get(api_endpoint + self.path_lang + '/article' + '/' + self.article_id + '?expand_lemmas=true&expand_refs=true') axios.get(api_endpoint + self.path_lang + '/article' + '/' + self.article_id + '?expand_lemmas=true&expand_refs=true')
.then(function(response){ .then(function(response){
......
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