[hub] fix review send

This commit is contained in:
Prateeksha Singh
2018-08-30 15:12:18 +05:30
parent bff2bdc858
commit dc36d52ef9
4 changed files with 29 additions and 93 deletions

View File

@@ -0,0 +1,16 @@
<template>
<span>
<i v-for="index in max_rating"
:key="index"
class="fa fa-fw star-icon"
:class="{'fa-star': index <= rating, 'fa-star-o': index > rating}"
>
</i>
</span>
</template>
<script>
export default {
props: ['rating', 'max_rating']
}
</script>