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

fikset feilmelding for ugyldig artikkel-ID

parent cef94067
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ function navigate_to_article(self, source) { ...@@ -88,7 +88,7 @@ function navigate_to_article(self, source) {
if (error.response && error.response.status == 404) { if (error.response && error.response.status == 404) {
self.article = { self.article = {
lemmas: [], lemmas: [],
error: "Vi har ingen artikkel med id " + article_id error: "Vi har ingen artikkel med id " + self.$route.params.id
} }
} else { } else {
self.article = { self.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