mirror of https://github.com/Lissy93/dashy.git
🐛 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…
Reference in New Issue