Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/improve wording in single account rule (#1479)

Thomas Kaul1dbb5db61180
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e0ed24cd72..a5cafbc543 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 c9bd0b35f4..7d75ef4d6e 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<RuleSettings> {
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
};
}