mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-23 05:35:07 +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: () => ({
|
data: () => ({
|
||||||
searchValue: '',
|
searchValue: '',
|
||||||
}),
|
}),
|
||||||
async mounted() {
|
|
||||||
// await this.getConfigForRoute();
|
|
||||||
},
|
|
||||||
watch: {
|
watch: {
|
||||||
async $route() {
|
async $route() {
|
||||||
this.loadUpConfig();
|
this.loadUpConfig();
|
||||||
},
|
},
|
||||||
|
pageInfo: {
|
||||||
|
handler(newPageInfo) {
|
||||||
|
if (newPageInfo && newPageInfo.title) {
|
||||||
|
document.title = newPageInfo.title;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
immediate: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
this.loadUpConfig();
|
this.loadUpConfig();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user