@ -12,10 +12,12 @@ export default {
try {
this.errorMessage = '';
if (!this.id) {
this.name = '';
throw new RequiredFieldError("ID");
return;
}
if (!this.name) {
this.id = '';
throw new RequiredFieldError("Name");