add logic

This commit is contained in:
Andreas Zweili 2021-06-28 17:17:12 +02:00
parent defbf66565
commit 92689c5254
1 changed files with 14 additions and 1 deletions

View File

@ -13,7 +13,20 @@
</template>
<script>
export default {};
export default {
props: ['id', 'firstName', 'lastName', 'rate', 'areas'],
computed: {
fullName() {
return this.firstName + this.lastName;
},
coachContactLink() {
return this.$route.path + '/' + this.id + '/contact';
},
coachDetailsLink() {
return this.$route.path + '/' + this.id;
}
}
};
</script>
<style scoped>