diff --git a/client/src/components/RecentActivity.vue b/client/src/components/RecentActivity.vue
index 85ada62..1eae17f 100644
--- a/client/src/components/RecentActivity.vue
+++ b/client/src/components/RecentActivity.vue
@@ -95,13 +95,13 @@ export default {
},
getCaseColor(nbMatches) {
/* TODO: change this */
- if (nbMatches > 5) {
+ if (nbMatches >= 6) {
return "bg-teal-200";
- } else if (nbMatches > 4) {
+ } else if (nbMatches >= 4) {
return "bg-teal-300";
- } else if (nbMatches > 3) {
+ } else if (nbMatches >= 2) {
return "bg-teal-400";
- } else if (nbMatches > 1) {
+ } else if (nbMatches >= 1) {
return "bg-teal-500";
}
return "bg-teal-700";
diff --git a/client/src/components/SearchForm.vue b/client/src/components/SearchForm.vue
index 2388475..b6ece5b 100644
--- a/client/src/components/SearchForm.vue
+++ b/client/src/components/SearchForm.vue
@@ -14,7 +14,7 @@
:class="{'bg-teal-600' : dropdown}"
class="cursor-pointer flex items-center px-2 py-1 rounded transition-all transition-fast ease-in-quad ease-out-quad hover:text-white"
>
- {{ selectedRegion }}
+ {{ selectedRegion }}