|
|
|
@ -40,7 +40,9 @@ export default {
|
|
|
|
|
throw new StringSize("Name", NAME_MINIMAL_SIZE)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const team = { id: this.id, name: this.name, description: this.description};
|
|
|
|
|
const team = { id: this.id, name: this.name, description: this.description };
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.teamAEdit != null) {
|
|
|
|
@ -54,7 +56,7 @@ export default {
|
|
|
|
|
this.name = '';
|
|
|
|
|
this.description = '';
|
|
|
|
|
|
|
|
|
|
}catch (error) {
|
|
|
|
|
} catch (error) {
|
|
|
|
|
if (error instanceof RequiredFieldError) {
|
|
|
|
|
this.errorMessage=error
|
|
|
|
|
}
|
|
|
|
@ -63,7 +65,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
template: `<section>
|
|
|
|
|
<form @submit.prevent>
|
|
|
|
|