|
|
@ -1,8 +1,8 @@
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
props: {
|
|
|
|
teamAEdit: {
|
|
|
|
teamAEdit: {
|
|
|
|
type: String,
|
|
|
|
require: true,
|
|
|
|
require: true
|
|
|
|
default: ""
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data: function() {
|
|
|
|
data: function() {
|
|
|
@ -44,6 +44,7 @@ export default {
|
|
|
|
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) {
|
|
|
|
if (this.teamAEdit != null) {
|
|
|
|
this.$emit('teamModifie', team);
|
|
|
|
this.$emit('teamModifie', team);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -64,7 +65,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
template: `<section>
|
|
|
|
template: `<section>
|
|
|
|
<form @submit.prevent>
|
|
|
|
<form @submit.prevent>
|
|
|
|