Skip to content

Commit b823db8

Browse files
authored
make HTML title match site_name (#249)
1 parent 5b2abbc commit b823db8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

admin_ui/src/App.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ export default Vue.extend({
2525
},
2626
showAboutModal() {
2727
return this.$store.state.aboutModalModule.showAboutModal
28+
},
29+
siteName() {
30+
return this.$store.state.metaModule.siteName
2831
}
2932
},
3033
async created() {
@@ -37,6 +40,7 @@ export default Vue.extend({
3740
this.$store.commit("updateDarkMode", darkMode)
3841
3942
await this.$store.dispatch("fetchMeta")
43+
document.title = this.siteName
4044
},
4145
async beforeCreate() {
4246
let app = this

0 commit comments

Comments
 (0)