From 8049b5ac4e28a33650a782319d1af65a86d6c7f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20N=C3=BCsse?= Date: Wed, 16 Mar 2022 15:28:21 +0100 Subject: [PATCH] use name instead of instancename --- frontend/src/router/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index f902dec0..27e2e711 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -12,7 +12,7 @@ import ProfileSettings from "@/views/settings/Profile"; import Shares from "@/views/settings/Shares"; import Errors from "@/views/Errors"; import store from "@/store"; -import { baseURL, name as instancename } from "@/utils/constants"; +import { baseURL, name } from "@/utils/constants"; Vue.use(Router); @@ -29,7 +29,7 @@ const router = new Router({ return next({ path: "/files" }); } - document.title = "Login - " + instancename; + document.title = "Login - " + name; next(); }, }, @@ -140,7 +140,7 @@ const router = new Router({ }); router.beforeEach((to, from, next) => { - document.title = to.name + " - " + instancename; + document.title = to.name + " - " + name; if (to.matched.some((record) => record.meta.requiresAuth)) { if (!store.getters.isLogged) {