[hub] fix review send
This commit is contained in:
16
erpnext/public/js/hub/components/Rating.vue
Normal file
16
erpnext/public/js/hub/components/Rating.vue
Normal 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>
|
||||
Reference in New Issue
Block a user