mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
[status page] also apply the title to <title>
This commit is contained in:
parent
a71814c80b
commit
0834770509
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue