reset email test bool on send to clear state

This commit is contained in:
wh1te909
2020-09-24 17:12:54 +00:00
parent b7faf746a6
commit 1c8beab229

View File

@@ -318,11 +318,13 @@ export default {
this.$axios
.get("/core/emailtest/")
.then(r => {
this.emailTest = false;
this.$q.loading.hide();
this.getCoreSettings();
this.notifySuccess(r.data, 3000);
})
.catch(e => {
this.emailTest = false;
this.$q.loading.hide();
this.notifyError(e.response.data, 7000);
});