mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-02-26 06:15:52 +00:00
playing with validation
This commit is contained in:
@@ -95,7 +95,7 @@ export default {
|
||||
this.reloadChecks();
|
||||
this.notifySuccess(r.data);
|
||||
})
|
||||
.catch(e => this.notifyError(e.response.data));
|
||||
.catch(e => this.notifyError(e.response.data.non_field_errors));
|
||||
},
|
||||
editCheck() {
|
||||
axios
|
||||
@@ -105,7 +105,7 @@ export default {
|
||||
this.reloadChecks();
|
||||
this.notifySuccess(r.data);
|
||||
})
|
||||
.catch(e => this.notifyError(e.response.data));
|
||||
.catch(e => this.notifyError(e.response.data.non_field_errors));
|
||||
},
|
||||
reloadChecks() {
|
||||
if (this.policypk) {
|
||||
|
||||
Reference in New Issue
Block a user