mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-23 14:29:42 -05:00
[status page] also apply the title to <title>
This commit is contained in:
parent
a71814c80b
commit
0834770509
@ -358,6 +358,10 @@ export default {
|
|||||||
"config.statusPageTheme"() {
|
"config.statusPageTheme"() {
|
||||||
this.$root.statusPageTheme = this.config.statusPageTheme;
|
this.$root.statusPageTheme = this.config.statusPageTheme;
|
||||||
this.loadedTheme = true;
|
this.loadedTheme = true;
|
||||||
|
},
|
||||||
|
|
||||||
|
"config.title"(title) {
|
||||||
|
document.title = title;
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -405,7 +409,7 @@ export default {
|
|||||||
this.updateHeartbeatList();
|
this.updateHeartbeatList();
|
||||||
feedInterval = setInterval(() => {
|
feedInterval = setInterval(() => {
|
||||||
this.updateHeartbeatList();
|
this.updateHeartbeatList();
|
||||||
}, 10 * 1000);
|
}, 5 * 60 * 1000);
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user