diff --git a/src/components/CommonUtil.vue b/src/components/CommonUtil.vue index a458c46f9b75f821316ca79a16081282983b8ba1..7174fc752b6411fae5e5844f36c7c0c49d028ed4 100644 --- a/src/components/CommonUtil.vue +++ b/src/components/CommonUtil.vue @@ -100,7 +100,8 @@ return ""; }, setHeaderTitle: function (headerTitle) { - document.getElementById("appHeader").innerHTML = "TEST " + headerTitle; + const title = "TEST " + headerTitle; + document.getElementById("appHeader").innerHTML = title.length > 15 ? title.substring(0, 15) + "..." : title; }, getSystemLocale: function() { return "nb";