From bd9c44cccfd4edf5547cc6b1b4a5cc91139282a2 Mon Sep 17 00:00:00 2001 From: Nelson Chan Date: Fri, 6 Oct 2023 05:01:59 +0800 Subject: [PATCH] Fix: Disable status page saving before getData --- src/pages/StatusPage.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/StatusPage.vue b/src/pages/StatusPage.vue index bc61aa58d..41b420caa 100644 --- a/src/pages/StatusPage.vue +++ b/src/pages/StatusPage.vue @@ -438,7 +438,7 @@ export default { lastUpdateTime: dayjs(), updateCountdown: null, updateCountdownText: null, - loading: false, + loading: true, }; }, computed: { @@ -698,6 +698,8 @@ export default { this.incident = res.data.incident; this.maintenanceList = res.data.maintenanceList; this.$root.publicGroupList = res.data.publicGroupList; + + this.loading = false; }).catch( function (error) { if (error.response.status === 404) { location.href = "/page-not-found";