From 8a49a04324ddbd967a850c78f852847f6f1a71e7 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 2 Mar 2024 09:48:53 +0100 Subject: [PATCH] Feature/improve usability of benchmarks in markets overview (#3077) * Improve icons, localize label * Update changelog --- CHANGELOG.md | 6 ++++++ libs/common/src/lib/helper.ts | 2 +- libs/ui/src/lib/benchmark/benchmark.component.html | 2 +- libs/ui/src/lib/benchmark/benchmark.component.ts | 2 ++ libs/ui/src/lib/i18n.ts | 8 ++++++-- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c2225173..abf9b6eb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Improved the usability of the benchmarks in the markets overview + ## 2.59.0 - 2024-02-29 ### Added diff --git a/libs/common/src/lib/helper.ts b/libs/common/src/lib/helper.ts index c6a15e22e..e55800628 100644 --- a/libs/common/src/lib/helper.ts +++ b/libs/common/src/lib/helper.ts @@ -393,6 +393,6 @@ export function resolveMarketCondition( } else if (aMarketCondition === 'BEAR_MARKET') { return { emoji: '🐻' }; } else { - return { emoji: '⚪' }; + return { emoji: undefined }; } } diff --git a/libs/ui/src/lib/benchmark/benchmark.component.html b/libs/ui/src/lib/benchmark/benchmark.component.html index 2e5c819e7..9497c63f4 100644 --- a/libs/ui/src/lib/benchmark/benchmark.component.html +++ b/libs/ui/src/lib/benchmark/benchmark.component.html @@ -102,7 +102,7 @@