From 053343762268f6fcb2452d1ff28e75f7eeb151a0 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Fri, 1 Sep 2017 18:32:41 +0200 Subject: [PATCH] fixed app title --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 39df3a3..1c0b4b4 100644 --- a/src/main.js +++ b/src/main.js @@ -200,7 +200,7 @@ import(/* webpackChunkName: "views" */ './views/views.js').then(Views => { })); router.addRoutes(routes); router.beforeEach((to, from, next) => { - document.title = (to.meta && to.meta.title) ? results.data.title + ': ' + to.meta.title : results.data.title; + document.title = (to.meta && to.meta.title) ? results.data.ui.title + ': ' + to.meta.title : results.data.title; next(); });