add constraint if no team, button not display

question-12
Bastien JACQUELIN 2 years ago
parent da8f034983
commit e7696557c5

@ -121,7 +121,7 @@ export default{
:nom="team.name" :nom="team.name"
:description="team.description"> :description="team.description">
</team-card> </team-card>
<input type="submit" value="Export" v-on:click="Export"/> <input type="submit" value="Export" v-if="teams.length>0" v-on:click="Export" />
</div> </div>
` `
} }

Loading…
Cancel
Save