[status page] also apply the title to <title>

pull/124/head
LouisLam 3 years ago
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…
Cancel
Save