From 1dbb5db6118019c434a586d72fb10447437ef467 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 26 Nov 2022 08:53:01 +0100 Subject: [PATCH] Feature/improve wording in single account rule (#1479) * Improve wording * Update changelog --- CHANGELOG.md | 1 + .../src/models/rules/account-cluster-risk/single-account.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0ed24cd7..a5cafbc54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Improved the language selector on the account page +- Improved the wording in the _X-ray_ section (net worth instead of investment) - Extended the asset profile details dialog in the admin control panel - Upgraded `ionicons` from version `5.5.1` to `6.0.4` - Upgraded `uuid` from version `8.3.2` to `9.0.0` diff --git a/apps/api/src/models/rules/account-cluster-risk/single-account.ts b/apps/api/src/models/rules/account-cluster-risk/single-account.ts index c9bd0b35f..7d75ef4d6 100644 --- a/apps/api/src/models/rules/account-cluster-risk/single-account.ts +++ b/apps/api/src/models/rules/account-cluster-risk/single-account.ts @@ -19,13 +19,13 @@ export class AccountClusterRiskSingleAccount extends Rule { if (accounts.length === 1) { return { - evaluation: `All your investment is managed by a single account`, + evaluation: `Your net worth is managed by a single account`, value: false }; } return { - evaluation: `Your investment is managed by ${accounts.length} accounts`, + evaluation: `Your net worth is managed by ${accounts.length} accounts`, value: true }; }