Browse Source

Add missing guard to fix public page (#3339)

pull/3340/head
Thomas Kaul 9 months ago
committed by GitHub
parent
commit
e10707fde4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      apps/api/src/app/portfolio/portfolio.service.ts

2
apps/api/src/app/portfolio/portfolio.service.ts

@ -359,7 +359,7 @@ export class PortfolioService {
calculationType: PerformanceCalculationType.TWR,
currency: userCurrency,
isExperimentalFeatures:
this.request.user.Settings.settings.isExperimentalFeatures
this.request.user?.Settings.settings.isExperimentalFeatures
});
const { currentValueInBaseCurrency, hasErrors, positions } =

Loading…
Cancel
Save