error handling and axios changes

This commit is contained in:
sadnub
2021-04-30 18:35:52 -04:00
parent b8349de31d
commit 2cb53ad06b
80 changed files with 497 additions and 588 deletions

View File

@@ -170,7 +170,6 @@ export default {
})
.catch(e => {
this.$q.loading.hide();
this.notifyError(e.response.data.non_field_errors, 4000);
});
} else {
this.$axios
@@ -182,7 +181,6 @@ export default {
})
.catch(e => {
this.$q.loading.hide();
this.notifyError(e.response.data.non_field_errors, 4000);
});
}
},
@@ -196,7 +194,6 @@ export default {
})
.catch(e => {
this.$q.loading.hide();
this.notifyError(e.response.data.non_field_errors, 4000);
});
},
highlighter(code) {