From 119f5201978d0b285eefd30c9cd5cb15ad30ff22 Mon Sep 17 00:00:00 2001 From: Titus Kristiansen <titusk@stud.ntnu.no> Date: Wed, 4 May 2022 10:00:59 +0200 Subject: [PATCH] Rating working --- src/components/UserProfileComponents/Rating.vue | 2 +- src/components/UserProfileComponents/UserProfile.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/UserProfileComponents/Rating.vue b/src/components/UserProfileComponents/Rating.vue index 8aff6ba..bda88f7 100644 --- a/src/components/UserProfileComponents/Rating.vue +++ b/src/components/UserProfileComponents/Rating.vue @@ -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"; }, diff --git a/src/components/UserProfileComponents/UserProfile.vue b/src/components/UserProfileComponents/UserProfile.vue index 0f0f573..2f82036 100644 --- a/src/components/UserProfileComponents/UserProfile.vue +++ b/src/components/UserProfileComponents/UserProfile.vue @@ -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> -- GitLab