mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-22 21:25:00 +02:00
🐛 Fix page title not being applied (#1544)
This commit is contained in:
parent
f68d65264c
commit
d58cde69f6
@ -34,13 +34,18 @@ const HomeMixin = {
|
||||
data: () => ({
|
||||
searchValue: '',
|
||||
}),
|
||||
async mounted() {
|
||||
// await this.getConfigForRoute();
|
||||
},
|
||||
watch: {
|
||||
async $route() {
|
||||
this.loadUpConfig();
|
||||
},
|
||||
pageInfo: {
|
||||
handler(newPageInfo) {
|
||||
if (newPageInfo && newPageInfo.title) {
|
||||
document.title = newPageInfo.title;
|
||||
}
|
||||
},
|
||||
immediate: true,
|
||||
},
|
||||
},
|
||||
async created() {
|
||||
this.loadUpConfig();
|
||||
|
Loading…
x
Reference in New Issue
Block a user