From 7e71c3c2e6c780ae8483db59b57562a1b3575ea3 Mon Sep 17 00:00:00 2001 From: Daniel Klein Date: Tue, 17 Sep 2024 09:17:06 +0200 Subject: [PATCH] fix(rating): coloring and update mocked data --- components/Project/ProjectRating.vue | 2 +- server/assets/data.json | 152 +++++++++++++++++---------- 2 files changed, 96 insertions(+), 58 deletions(-) diff --git a/components/Project/ProjectRating.vue b/components/Project/ProjectRating.vue index 650c5e2..ebbdab1 100644 --- a/components/Project/ProjectRating.vue +++ b/components/Project/ProjectRating.vue @@ -97,7 +97,7 @@ const hidePopover = () => { text-12px font-700 leading-20px - :class="{ 'text-app-text-rating-negative': !item.isValid }" + :class="[item.isValid ? 'text-app-white': 'text-app-text-rating-negative']" >