display app configuration values

This commit is contained in:
Julian Krauser 2025-04-25 08:18:27 +02:00
parent 20a2a3ccd0
commit 5d9007f517
10 changed files with 37 additions and 33 deletions

View file

@ -10,6 +10,7 @@
<Notification />
<Teleport to="head">
<title>{{ clubName }}</title>
<link rel="icon" type="image/ico" :href="config.server_address + '/api/public/favicon.ico'" />
<link rel="manifest" :href="config.server_address + '/api/public/manifest.webmanifest'" />
</Teleport>
@ -32,11 +33,6 @@ import { useConfigurationStore } from "@/stores/configuration";
<script lang="ts">
export default defineComponent({
watch: {
clubName() {
document.title = this.clubName;
},
},
computed: {
...mapState(useAuthStore, ["authCheck"]),
...mapState(useConfigurationStore, ["clubName"]),
@ -44,8 +40,6 @@ export default defineComponent({
mounted() {
this.configure();
document.title = this.clubName;
if (!this.authCheck && localStorage.getItem("access_token")) {
isAuthenticatedPromise().catch(() => {
localStorage.removeItem("access_token");