Condensed logs to a single card per action

This commit is contained in:
Stefan Zermatten
2021-02-11 15:48:23 +02:00
parent d7083cf242
commit 439eadf079
16 changed files with 281 additions and 135 deletions

View File

@@ -39,8 +39,7 @@ export default {
computed: {
// We can't rely on autoValue running in every form, so recalculate errors
clientErrors(){
let validationContext = ConstantSchema.newContext();
let cleanModel = validationContext.clean(this.model);
let cleanModel = ConstantSchema.clean(this.model);
return cleanModel.errors;
}
}