From c8aa0d12747456e1f5bb45a781bc36e0a616f03a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no>
Date: Mon, 15 Feb 2021 08:22:33 +0100
Subject: [PATCH] fikset feilmelding for ugyldig artikkel-ID

---
 src/App.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/App.vue b/src/App.vue
index c6502d97..12b5b19c 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -88,7 +88,7 @@ function navigate_to_article(self, source) {
     if (error.response && error.response.status == 404) {
       self.article = {
         lemmas: [],
-        error: "Vi har ingen artikkel med id " + article_id
+        error: "Vi har ingen artikkel med id " + self.$route.params.id
       }
     } else {
       self.article = {
-- 
GitLab