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
Checking pipeline status
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
methods: { methods: {
getFill(i) { getFill(i) {
if (i <= this.rating) { 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"; return "w-5 h-5 text-gray-300 dark:text-gray-500";
}, },
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
{{ user.firstName }} {{ user.lastName }} {{ user.firstName }} {{ user.lastName }}
</h5> </h5>
<div> <div>
<rating-component :rating="renterRating" :ratingType="'Leietaker'" /> <rating-component :rating="renterRating" :ratingType="'Leietaker'"/>
<rating-component :rating="ownerRating" :ratingType="'Utleier'" /> <rating-component :rating="ownerRating" :ratingType="'Utleier'" />
</div> </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