add logic
This commit is contained in:
parent
defbf66565
commit
92689c5254
|
@ -13,7 +13,20 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<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>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
Reference in New Issue