From 66abfe75d7995941f462a076bbadc9b9642dcca4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no>
Date: Fri, 14 May 2021 15:41:50 +0200
Subject: [PATCH] forskjellig title-atributt for dev, beta og lokal

---
 public/index.html | 2 +-
 src/App.vue       | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/public/index.html b/public/index.html
index bde37a57..a6ea3f65 100644
--- a/public/index.html
+++ b/public/index.html
@@ -7,7 +7,7 @@
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
     <link rel="apple-touch-icon" href="<%= BASE_URL %>touch-icon.png">
     <meta name="robots" content="noindex" />
-    <title>Ordbok – Beta</title>
+    <title>Ordbøkene</title>
   </head>
   <body>
     <noscript>
diff --git a/src/App.vue b/src/App.vue
index 4c11e4dd..5e9d438a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -25,6 +25,9 @@
         version_label: process.env.VUE_APP_VERSION_LABEL,
         release: process.env.VUE_APP_RELEASE
       }
+    },
+    mounted: function(){
+      document.title = 'Ordbøkene - ' + this.version_label
     }
   }
 </script>
-- 
GitLab