Rectification d'un bogue mineur

master
Raphael LACOTE 2 years ago
parent ff9fe8eb10
commit 72512b2cb5

@ -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");
return;
}

Loading…
Cancel
Save