diff --git a/src/components/UserProfileComponents/RatingComponents/Rating.vue b/src/components/UserProfileComponents/RatingComponents/Rating.vue index 6efa3b014f4c175b7af950ddb36119a7029f60f9..88342d9131a8427ce73b28c196447c2598dc713a 100644 --- a/src/components/UserProfileComponents/RatingComponents/Rating.vue +++ b/src/components/UserProfileComponents/RatingComponents/Rating.vue @@ -47,7 +47,7 @@ export default { }, methods: { getFill(i) { - if (i <= this.rating) { + if (i <= Math.round(this.rating)) { return "w-5 h-5 text-warn-medium"; } return "w-5 h-5 text-gray-300 dark:text-gray-500";