Skip to content
Snippets Groups Projects
Commit 119f5201 authored by Titus Netland's avatar Titus Netland
Browse files

Rating working

parent aa10ae0f
No related branches found
No related tags found
1 merge request!97Average user service
Pipeline #180425 passed
......@@ -47,7 +47,7 @@ export default {
methods: {
getFill(i) {
if (i <= this.rating) {
return "w-5 h-5 text-warn";
return "w-5 h-5 text-warn-medium";
}
return "w-5 h-5 text-gray-300 dark:text-gray-500";
},
......
......@@ -88,7 +88,7 @@
{{ user.firstName }} {{ user.lastName }}
</h5>
<div>
<rating-component :rating="renterRating" :ratingType="'Leietaker'" />
<rating-component :rating="renterRating" :ratingType="'Leietaker'"/>
<rating-component :rating="ownerRating" :ratingType="'Utleier'" />
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment