added server title change option

This commit is contained in:
zipben 2025-06-09 09:49:14 +00:00
parent 32ab726fe9
commit c7cfe69dea
3 changed files with 23 additions and 1 deletions

View file

@ -7,7 +7,7 @@
</nuxt-link>
<nuxt-link to="/">
<h1 class="text-xl mr-6 hidden lg:block hover:underline">Bookfire</h1>
<h1 class="text-xl mr-6 hidden lg:block hover:underline">{{ serverTitle }}</h1>
</nuxt-link>
<ui-libraries-dropdown class="mr-2" />
@ -220,6 +220,9 @@ export default {
}
return options
},
serverTitle() {
return this.$store.state.serverSettings?.title || 'Bookfire'
}
},
methods: {