Skip to content

Commit

Permalink
Fix: Disable status page saving before getData (#3849)
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying authored Oct 8, 2023
1 parent 5b7206f commit b243952
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/StatusPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ export default {
lastUpdateTime: dayjs(),
updateCountdown: null,
updateCountdownText: null,
loading: false,
loading: true,
};
},
computed: {
Expand Down Expand Up @@ -702,6 +702,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";
Expand Down

0 comments on commit b243952

Please sign in to comment.