Fix: Disable status page saving before getData

pull/3780/head
Nelson Chan 1 year ago committed by Louis Lam
parent 1b148786a5
commit bd9c44cccf

@ -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";

Loading…
Cancel
Save