diff --git a/apps/api/src/app/portfolio/portfolio.controller.ts b/apps/api/src/app/portfolio/portfolio.controller.ts index 6f21bb604..57f7da56b 100644 --- a/apps/api/src/app/portfolio/portfolio.controller.ts +++ b/apps/api/src/app/portfolio/portfolio.controller.ts @@ -425,6 +425,10 @@ export class PortfolioController { return nullifyValuesInObject(item, ['totalInvestment', 'value']); } ); + performanceInformation.performance = nullifyValuesInObject( + performanceInformation.performance, + ['currentNetPerformance', 'currentNetPerformancePercent'] + ); } return performanceInformation; diff --git a/apps/client/src/app/pages/portfolio/analysis/analysis-page.html b/apps/client/src/app/pages/portfolio/analysis/analysis-page.html index a21eb8080..8393dbb82 100644 --- a/apps/client/src/app/pages/portfolio/analysis/analysis-page.html +++ b/apps/client/src/app/pages/portfolio/analysis/analysis-page.html @@ -18,136 +18,149 @@ - @if (user?.settings?.isExperimentalFeatures) { -
-
- - -
-
- Absolute Asset Performance -
-
- -
+
+
+ + +
+
+ Absolute Asset Performance + +
+
+ +
+
+
+
+ Asset Performance +
+
+
-
-
- Asset Performance -
-
- -
+
+
+
+ Absolute Currency Performance +
-
-
- Absolute Currency Performance -
-
- -
+
+ +
+
+
+
+ Currency Performance
-
-
- Currency Performance -
-
- + -
+ " + />
-

-
-
- Absolute Net Performance -
-
- -
+
+

+
+
+ Absolute Net Performance
-
-
- Net Performance -
-
- -
+
+
- - -
+
+
+
+ Net Performance +
+
+ +
+
+ +
- } +
diff --git a/libs/ui/src/lib/value/value.component.html b/libs/ui/src/lib/value/value.component.html index 07c4616df..4bdaf06a5 100644 --- a/libs/ui/src/lib/value/value.component.html +++ b/libs/ui/src/lib/value/value.component.html @@ -21,7 +21,11 @@ h4: size === 'medium' }" > - {{ formattedValue }}% + @if (value === null) { + *****% + } @else { + {{ formattedValue }}% + }
- + @if (value === null) { ***** - - + } @else { {{ formattedValue }} - + }
{{ unit }}