use the type for the badges in CoachItem

This commit is contained in:
Andreas Zweili 2021-06-28 18:10:52 +02:00
parent ddab36caba
commit e86d6490ac
1 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,12 @@
<h3>{{ fullName }}</h3>
<h4>{{ rate }}/hour</h4>
<div>
<base-badge v-for="area in areas" :key="area" :title="area"></base-badge>
<base-badge
v-for="area in areas"
:key="area"
:type="area"
:title="area"
></base-badge>
</div>
<div class="actions">
<base-button link :to="coachContactLink">Contact</base-button>