From 0834770509c48e57d85e90cbb00ffbe0e7bd5ad1 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Tue, 21 Sep 2021 23:59:46 +0800 Subject: [PATCH] [status page] also apply the title to --- src/pages/StatusPage.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/StatusPage.vue b/src/pages/StatusPage.vue index ab396959c..206b40426 100644 --- a/src/pages/StatusPage.vue +++ b/src/pages/StatusPage.vue @@ -358,6 +358,10 @@ export default { "config.statusPageTheme"() { this.$root.statusPageTheme = this.config.statusPageTheme; this.loadedTheme = true; + }, + + "config.title"(title) { + document.title = title; } }, @@ -405,7 +409,7 @@ export default { this.updateHeartbeatList(); feedInterval = setInterval(() => { this.updateHeartbeatList(); - }, 10 * 1000); + }, 5 * 60 * 1000); }, methods: {